summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-03-02 10:47:48 -0700
committerGitHub <noreply@github.com>2023-03-02 10:47:48 -0700
commit77355fd3484bc8297e2ee462c59eab925e65b0a1 (patch)
tree8136123c87a046bc636bfc652833fccd7835a96c
parent1facf99f51d73098728a311b668dc31a64fccd1d (diff)
downloadspack-77355fd3484bc8297e2ee462c59eab925e65b0a1.tar.gz
spack-77355fd3484bc8297e2ee462c59eab925e65b0a1.tar.bz2
spack-77355fd3484bc8297e2ee462c59eab925e65b0a1.tar.xz
spack-77355fd3484bc8297e2ee462c59eab925e65b0a1.zip
py-nbstripout: add new package (#35786)
-rw-r--r--var/spack/repos/builtin/packages/py-nbstripout/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nbstripout/package.py b/var/spack/repos/builtin/packages/py-nbstripout/package.py
new file mode 100644
index 0000000000..cfda6b4189
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nbstripout/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2023 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.package import *
+
+
+class PyNbstripout(PythonPackage):
+ """Strips outputs from Jupyter and IPython notebooks."""
+
+ homepage = "https://github.com/kynan/nbstripout"
+ pypi = "nbstripout/nbstripout-0.6.1.tar.gz"
+
+ version("0.6.1", sha256="9065bcdd1488b386e4f3c081ffc1d48f4513a2f8d8bf4d0d9a28208c5dafe9d3")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-nbformat", type=("build", "run"))