diff options
author | bryanherman <63422190+bryanherman@users.noreply.github.com> | 2021-02-02 12:24:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 11:24:28 -0600 |
commit | d04804891130841387697702c99ad8098a99874e (patch) | |
tree | 73d779ea9745ded46564fa308c21546e81d18b40 | |
parent | 959df6bb1243b2bf10368248ca87fa177080883c (diff) | |
download | spack-d04804891130841387697702c99ad8098a99874e.tar.gz spack-d04804891130841387697702c99ad8098a99874e.tar.bz2 spack-d04804891130841387697702c99ad8098a99874e.tar.xz spack-d04804891130841387697702c99ad8098a99874e.zip |
py-nbsphinx: new package (#21444)
* added py-nbsphinx package
* added a comment about nbsphinx use
-rw-r--r-- | var/spack/repos/builtin/packages/py-nbsphinx/package.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nbsphinx/package.py b/var/spack/repos/builtin/packages/py-nbsphinx/package.py new file mode 100644 index 0000000000..96f08cc062 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-nbsphinx/package.py @@ -0,0 +1,31 @@ +# 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 PyNbsphinx(PythonPackage): + """nbsphinx is a Sphinx extension that provides a source parser for + *.ipynb files. + """ + + # It should be noted that in order to have nbsphinx work, + # one must create a Spack view of the dependencies. + + homepage = "https://nbsphinx.readthedocs.io" + pypi = "nbsphinx/nbsphinx-0.8.0.tar.gz" + + version('0.8.1', sha256='24d59aa3a1077ba58d9769c64c38fb05b761a1af21c1ac15f6393500cd008ea6') + version('0.8.0', sha256='369c16fe93af14c878d61fb3e81d838196fb35b27deade2cd7b95efe1fe56ea0') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-docutils', type=('build', 'run')) + depends_on('py-jinja2', type=('build', 'run')) + depends_on('py-nbconvert@:5.3,5.5:', type=('build', 'run')) + depends_on('py-traitlets', type=('build', 'run')) + depends_on('py-nbformat', type=('build', 'run')) + depends_on('py-sphinx@1.8:', type=('build', 'run')) |