py-nbstripout: add new package (#35786)
This commit is contained in:
parent
1facf99f51
commit
77355fd348
1 changed files with 18 additions and 0 deletions
18
var/spack/repos/builtin/packages/py-nbstripout/package.py
Normal file
18
var/spack/repos/builtin/packages/py-nbstripout/package.py
Normal file
|
@ -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"))
|
Loading…
Reference in a new issue