py-nbclient: add new package (#18628)
This commit is contained in:
		
							
								
								
									
										23
									
								
								var/spack/repos/builtin/packages/py-nbclient/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								var/spack/repos/builtin/packages/py-nbclient/package.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
 | 
			
		||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
 | 
			
		||||
#
 | 
			
		||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class PyNbclient(PythonPackage):
 | 
			
		||||
    """A client library for executing notebooks.
 | 
			
		||||
 | 
			
		||||
    Formally nbconvert's ExecutePreprocessor."""
 | 
			
		||||
 | 
			
		||||
    homepage = "https://jupyter.org/"
 | 
			
		||||
    url      = "https://pypi.io/packages/source/n/nbclient/nbclient-0.5.0.tar.gz"
 | 
			
		||||
 | 
			
		||||
    version('0.5.0', sha256='8ad52d27ba144fca1402db014857e53c5a864a2f407be66ca9d74c3a56d6591d')
 | 
			
		||||
 | 
			
		||||
    depends_on('python@3.6:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-setuptools', type='build')
 | 
			
		||||
    depends_on('py-traitlets@4.2:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-jupyter-client@6.1.5:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-nbformat@5.0:', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-async-generator', type=('build', 'run'))
 | 
			
		||||
    depends_on('py-nest-asyncio', type=('build', 'run'))
 | 
			
		||||
		Reference in New Issue
	
	Block a user