summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-07-09 16:21:56 +0200
committerGitHub <noreply@github.com>2021-07-09 14:21:56 +0000
commitcd118341e91634d154a605fc5ceef45230de44de (patch)
treebd81643cc1db32dd9a227809d08f6edd97b9f60d /var
parent2d1631c9fdfe36d1cd2d33a4c97183b67152f3a7 (diff)
downloadspack-cd118341e91634d154a605fc5ceef45230de44de.tar.gz
spack-cd118341e91634d154a605fc5ceef45230de44de.tar.bz2
spack-cd118341e91634d154a605fc5ceef45230de44de.tar.xz
spack-cd118341e91634d154a605fc5ceef45230de44de.zip
py-nbclassic: add new packageg (#24778)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nbclassic/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nbclassic/package.py b/var/spack/repos/builtin/packages/py-nbclassic/package.py
new file mode 100644
index 0000000000..ab98af4ddf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nbclassic/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 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)
+
+from spack import *
+
+
+class PyNbclassic(PythonPackage):
+ """Jupyter Notebook as a Jupyter Server Extension."""
+
+ homepage = "https://github.com/jupyterlab/nbclassic"
+ pypi = "nbclassic/nbclassic-0.3.1.tar.gz"
+
+ version('0.3.1', sha256='f920f8d09849bea7950e1017ff3bd101763a8d68f565a51ce053572e65aa7947')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-jupyter-server@1.8:1.999', type=('build', 'run'))
+ depends_on('py-notebook@:6.999', type=('build', 'run'))