py-papermill: add new package (#36328)
This commit is contained in:
parent
37fbfcf7fe
commit
68979f8740
3 changed files with 61 additions and 0 deletions
18
var/spack/repos/builtin/packages/py-ansiwrap/package.py
Normal file
18
var/spack/repos/builtin/packages/py-ansiwrap/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 PyAnsiwrap(PythonPackage):
|
||||
"""textwrap, but savvy to ANSI colors and styles."""
|
||||
|
||||
homepage = "https://github.com/jonathaneunice/ansiwrap"
|
||||
pypi = "ansiwrap/ansiwrap-0.8.4.zip"
|
||||
|
||||
version("0.8.4", sha256="ca0c740734cde59bf919f8ff2c386f74f9a369818cdc60efe94893d01ea8d9b7")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-textwrap3@0.9.2:", type=("build", "run"))
|
26
var/spack/repos/builtin/packages/py-papermill/package.py
Normal file
26
var/spack/repos/builtin/packages/py-papermill/package.py
Normal file
|
@ -0,0 +1,26 @@
|
|||
# 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 PyPapermill(PythonPackage):
|
||||
"""Parametrize and run Jupyter and nteract Notebooks."""
|
||||
|
||||
homepage = "https://github.com/nteract/papermill"
|
||||
pypi = "papermill/papermill-2.4.0.tar.gz"
|
||||
|
||||
version("2.4.0", sha256="6f8f8a9b06b39677f207c09100c8d386bcf592f0cbbdda9f0f50e81445697627")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-ansiwrap", type=("build", "run"))
|
||||
depends_on("py-click", type=("build", "run"))
|
||||
depends_on("py-pyyaml", type=("build", "run"))
|
||||
depends_on("py-nbformat@5.1.2:", type=("build", "run"))
|
||||
depends_on("py-nbclient@0.2:", type=("build", "run"))
|
||||
depends_on("py-tqdm@4.32.2:", type=("build", "run"))
|
||||
depends_on("py-requests", type=("build", "run"))
|
||||
depends_on("py-entrypoints", type=("build", "run"))
|
||||
depends_on("py-tenacity", type=("build", "run"))
|
17
var/spack/repos/builtin/packages/py-textwrap3/package.py
Normal file
17
var/spack/repos/builtin/packages/py-textwrap3/package.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# 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 PyTextwrap3(PythonPackage):
|
||||
"""textwrap from Python 3.6 backport (plus a few tweaks)."""
|
||||
|
||||
homepage = "https://github.com/jonathaneunice/textwrap3"
|
||||
pypi = "textwrap3/textwrap3-0.9.2.zip"
|
||||
|
||||
version("0.9.2", sha256="5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
Loading…
Reference in a new issue