summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-08-20 06:46:40 -0500
committerGitHub <noreply@github.com>2021-08-20 05:46:40 -0600
commitb6f7fa6eb5aca9dcc2e6acc337182df20574cc4d (patch)
treee682fe0dca769a81e4ac8893d30bff2482f88f8a /var
parent2f85d3cdb9e0a634e43c796b6cd3e7d6971eefad (diff)
downloadspack-b6f7fa6eb5aca9dcc2e6acc337182df20574cc4d.tar.gz
spack-b6f7fa6eb5aca9dcc2e6acc337182df20574cc4d.tar.bz2
spack-b6f7fa6eb5aca9dcc2e6acc337182df20574cc4d.tar.xz
spack-b6f7fa6eb5aca9dcc2e6acc337182df20574cc4d.zip
py-nbmake: add new package (#25525)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nbmake/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nbmake/package.py b/var/spack/repos/builtin/packages/py-nbmake/package.py
new file mode 100644
index 0000000000..69f5287dda
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nbmake/package.py
@@ -0,0 +1,25 @@
+# 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 PyNbmake(PythonPackage):
+ """Pytest plugin for testing notebooks."""
+
+ homepage = "https://github.com/treebeardtech/nbmake"
+ pypi = "nbmake/nbmake-0.5.tar.gz"
+
+ version('0.5', sha256='da9bf1bbc377c9d1d697f99952834017c39b4983e7e482a038dec705955a8ae9')
+
+ depends_on('python@3.6.1:3.999', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pygments@2.7.3:2.999', type=('build', 'run'))
+ depends_on('py-ipykernel@5.4.0:5.999', type=('build', 'run'))
+ depends_on('py-nbclient@0.3:0.999', type=('build', 'run'))
+ depends_on('py-nbformat@5.0.8:5.999', type=('build', 'run'))
+ depends_on('py-pathlib@1.0.1:1.999', type=('build', 'run'))
+ depends_on('py-pydantic@1.7.2:1.999', type=('build', 'run'))
+ depends_on('py-pytest@6.1.2:6.999', type=('build', 'run'))