summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-nbconvert/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-nbconvert/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-nbconvert/package.py102
1 files changed, 52 insertions, 50 deletions
diff --git a/var/spack/repos/builtin/packages/py-nbconvert/package.py b/var/spack/repos/builtin/packages/py-nbconvert/package.py
index 8083a2907c..4728d00287 100644
--- a/var/spack/repos/builtin/packages/py-nbconvert/package.py
+++ b/var/spack/repos/builtin/packages/py-nbconvert/package.py
@@ -13,65 +13,67 @@ class PyNbconvert(PythonPackage):
homepage = "https://github.com/jupyter/nbconvert"
pypi = "nbconvert/nbconvert-6.0.1.tar.gz"
- version('6.5.0', sha256='223e46e27abe8596b8aed54301fadbba433b7ffea8196a68fd7b1ff509eee99d')
- version('6.4.2', sha256='eb2803db18f6facce6bf3b01b684fe47907994bd156d15eaccdf011e3d7f8164')
- version('6.3.0', sha256='5e77d6203854944520105e38f2563a813a4a3708e8563aa598928a3b5ee1081a')
- version('6.2.0', sha256='16ceecd0afaa8fd26c245fa32e2c52066c02f13aa73387fffafd84750baea863')
- version('6.0.1', sha256='db94117fbac29153834447e31b30cda337d4450e46e0bdb1a36eafbbf4435156')
- version('5.6.0', sha256='427a468ec26e7d68a529b95f578d5cbf018cb4c1f889e897681c2b6d11897695')
- version('5.5.0', sha256='138381baa41d83584459b5cfecfc38c800ccf1f37d9ddd0bd440783346a4c39c')
- version('4.2.0', sha256='55946d7522741294fcdd50799bd1777d16673ce721fecca0610cdb86749863c6')
- version('4.1.0', sha256='e0296e45293dd127d028f678e3b6aba3f1db3283a134178bdb49eea402d4cf1c')
- version('4.0.0', sha256='472ad15d1a71f1ef00c4094c11bb93638858fc89fb2c5838b3aa6b67d981b437')
+ version("6.5.0", sha256="223e46e27abe8596b8aed54301fadbba433b7ffea8196a68fd7b1ff509eee99d")
+ version("6.4.2", sha256="eb2803db18f6facce6bf3b01b684fe47907994bd156d15eaccdf011e3d7f8164")
+ version("6.3.0", sha256="5e77d6203854944520105e38f2563a813a4a3708e8563aa598928a3b5ee1081a")
+ version("6.2.0", sha256="16ceecd0afaa8fd26c245fa32e2c52066c02f13aa73387fffafd84750baea863")
+ version("6.0.1", sha256="db94117fbac29153834447e31b30cda337d4450e46e0bdb1a36eafbbf4435156")
+ version("5.6.0", sha256="427a468ec26e7d68a529b95f578d5cbf018cb4c1f889e897681c2b6d11897695")
+ version("5.5.0", sha256="138381baa41d83584459b5cfecfc38c800ccf1f37d9ddd0bd440783346a4c39c")
+ version("4.2.0", sha256="55946d7522741294fcdd50799bd1777d16673ce721fecca0610cdb86749863c6")
+ version("4.1.0", sha256="e0296e45293dd127d028f678e3b6aba3f1db3283a134178bdb49eea402d4cf1c")
+ version("4.0.0", sha256="472ad15d1a71f1ef00c4094c11bb93638858fc89fb2c5838b3aa6b67d981b437")
- variant('serve', default=True, description='Include a webserver')
+ variant("serve", default=True, description="Include a webserver")
- depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
- depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@5:')
- depends_on('python@3.6:', type=('build', 'run'), when='@6:')
- depends_on('python@3.7:', type=('build', 'run'), when='@6.2.0:')
- depends_on('py-setuptools', type=('build', 'run'), when='@5:')
- depends_on('py-setuptools@60:', type=('build', 'run'), when='@6.5:')
- depends_on('py-beautifulsoup4', type=('build', 'run'), when='@6.4.4:')
- depends_on('py-bleach', type=('build', 'run'), when='@5:')
- depends_on('py-defusedxml', type=('build', 'run'), when='@5:')
- depends_on('py-entrypoints', type=('build', 'run'))
- depends_on('py-entrypoints@0.2.2:', type=('build', 'run'), when='@5:')
- depends_on('py-jinja2', type=('build', 'run'))
- depends_on('py-jinja2@2.4:', type=('build', 'run'), when='@5:')
- depends_on('py-jinja2@3:', type=('build', 'run'), when='@6.5:')
- depends_on('py-jupyter-core', type=('build', 'run'))
- depends_on('py-jupyter-core@4.7:', type=('build', 'run'), when='@6.5:')
- depends_on('py-jupyterlab-pygments', type=('build', 'run'), when='@6:')
- depends_on('py-markupsafe@2:', type=('build', 'run'), when='@6.4.5:')
- depends_on('py-mistune@0.8.1:1', type=('build', 'run'))
- depends_on('py-nbclient@0.5', type=('build', 'run'), when='@6:6.4')
- depends_on('py-nbclient@0.5:', type=('build', 'run'), when='@6.5:')
- depends_on('py-nbformat', type=('build', 'run'))
- depends_on('py-nbformat@4.4:', type=('build', 'run'), when='@5:')
- depends_on('py-nbformat@5.1:', type=('build', 'run'), when='@6.5:')
- depends_on('py-packaging', type=('build', 'run'), when='@6.5:')
- depends_on('py-pandocfilters@1.4.1:', type=('build', 'run'), when='@5:')
- depends_on('py-pycurl', type='build', when='^python@:2.7.8')
- depends_on('py-pygments', type=('build', 'run'))
- depends_on('py-pygments@2.4.1:', type=('build', 'run'), when='@6:')
- depends_on('py-testpath', type=('build', 'run'), when='@5:6.4')
- depends_on('py-tinycss2', type=('build', 'run'), when='@6.5:')
- depends_on('py-traitlets', type=('build', 'run'))
- depends_on('py-traitlets@4.2:', type=('build', 'run'), when='@5:')
- depends_on('py-traitlets@5:', type=('build', 'run'), when='@6.2.0:')
+ depends_on("python@2.7:2.8,3.3:", type=("build", "run"))
+ depends_on("python@2.7:2.8,3.5:", type=("build", "run"), when="@5:")
+ depends_on("python@3.6:", type=("build", "run"), when="@6:")
+ depends_on("python@3.7:", type=("build", "run"), when="@6.2.0:")
+ depends_on("py-setuptools", type=("build", "run"), when="@5:")
+ depends_on("py-setuptools@60:", type=("build", "run"), when="@6.5:")
+ depends_on("py-beautifulsoup4", type=("build", "run"), when="@6.4.4:")
+ depends_on("py-bleach", type=("build", "run"), when="@5:")
+ depends_on("py-defusedxml", type=("build", "run"), when="@5:")
+ depends_on("py-entrypoints", type=("build", "run"))
+ depends_on("py-entrypoints@0.2.2:", type=("build", "run"), when="@5:")
+ depends_on("py-jinja2", type=("build", "run"))
+ depends_on("py-jinja2@2.4:", type=("build", "run"), when="@5:")
+ depends_on("py-jinja2@3:", type=("build", "run"), when="@6.5:")
+ depends_on("py-jupyter-core", type=("build", "run"))
+ depends_on("py-jupyter-core@4.7:", type=("build", "run"), when="@6.5:")
+ depends_on("py-jupyterlab-pygments", type=("build", "run"), when="@6:")
+ depends_on("py-markupsafe@2:", type=("build", "run"), when="@6.4.5:")
+ depends_on("py-mistune@0.8.1:1", type=("build", "run"))
+ depends_on("py-nbclient@0.5", type=("build", "run"), when="@6:6.4")
+ depends_on("py-nbclient@0.5:", type=("build", "run"), when="@6.5:")
+ depends_on("py-nbformat", type=("build", "run"))
+ depends_on("py-nbformat@4.4:", type=("build", "run"), when="@5:")
+ depends_on("py-nbformat@5.1:", type=("build", "run"), when="@6.5:")
+ depends_on("py-packaging", type=("build", "run"), when="@6.5:")
+ depends_on("py-pandocfilters@1.4.1:", type=("build", "run"), when="@5:")
+ depends_on("py-pycurl", type="build", when="^python@:2.7.8")
+ depends_on("py-pygments", type=("build", "run"))
+ depends_on("py-pygments@2.4.1:", type=("build", "run"), when="@6:")
+ depends_on("py-testpath", type=("build", "run"), when="@5:6.4")
+ depends_on("py-tinycss2", type=("build", "run"), when="@6.5:")
+ depends_on("py-traitlets", type=("build", "run"))
+ depends_on("py-traitlets@4.2:", type=("build", "run"), when="@5:")
+ depends_on("py-traitlets@5:", type=("build", "run"), when="@6.2.0:")
# https://bugs.gentoo.org/720870
# https://github.com/jupyter/nbconvert/pull/937
- depends_on('py-tornado@6.1:', type=('build', 'run'), when='@6.5: +serve')
- depends_on('py-tornado@4.0:', type=('build', 'run'), when='@5.4.1: +serve')
- depends_on('py-tornado@4.0:5', type=('build', 'run'), when='@:5.4.0 +serve')
+ depends_on("py-tornado@6.1:", type=("build", "run"), when="@6.5: +serve")
+ depends_on("py-tornado@4.0:", type=("build", "run"), when="@5.4.1: +serve")
+ depends_on("py-tornado@4.0:5", type=("build", "run"), when="@:5.4.0 +serve")
def patch(self):
# We bundle this with the spack package so that the installer
# doesn't try to download it.
- install(join_path(self.package_dir, 'style.min.css'),
- join_path('nbconvert', 'resources', 'style.min.css'))
+ install(
+ join_path(self.package_dir, "style.min.css"),
+ join_path("nbconvert", "resources", "style.min.css"),
+ )
def setup_run_environment(self, env):
env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)