diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2023-07-16 00:16:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-15 17:16:34 -0500 |
commit | a9d5f2479161113cd3a9a0548832386d05bfe426 (patch) | |
tree | e94df9db6402711b4c702ccbda7452730af488d2 | |
parent | 74d5da43a8156d2c4d349f373599e21439deefc0 (diff) | |
download | spack-a9d5f2479161113cd3a9a0548832386d05bfe426.tar.gz spack-a9d5f2479161113cd3a9a0548832386d05bfe426.tar.bz2 spack-a9d5f2479161113cd3a9a0548832386d05bfe426.tar.xz spack-a9d5f2479161113cd3a9a0548832386d05bfe426.zip |
py-furo: add new package (#38904)
3 files changed, 66 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-furo/package.py b/var/spack/repos/builtin/packages/py-furo/package.py new file mode 100644 index 0000000000..c26ababcb0 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-furo/package.py @@ -0,0 +1,22 @@ +# 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 PyFuro(PythonPackage): + """A clean customisable Sphinx documentation theme..""" + + homepage = "https://github.com/pradyunsg/furo" + pypi = "furo/furo-2023.5.20.tar.gz" + + version("2023.5.20", sha256="40e09fa17c6f4b22419d122e933089226dcdb59747b5b6c79363089827dea16f") + + depends_on("py-sphinx-theme-builder@0.2.0a10:", type="build") + + depends_on("py-beautifulsoup4", type=("build", "run")) + depends_on("py-sphinx@6:7", type=("build", "run")) + depends_on("py-sphinx-basic-ng", type=("build", "run")) + depends_on("py-pygments@2.7:", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-sphinx-basic-ng/package.py b/var/spack/repos/builtin/packages/py-sphinx-basic-ng/package.py new file mode 100644 index 0000000000..34909e4725 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sphinx-basic-ng/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 PySphinxBasicNg(PythonPackage): + """A modern skeleton for Sphinx themes.""" + + homepage = "https://github.com/pradyunsg/sphinx-basic-ng" + pypi = "sphinx_basic_ng/sphinx_basic_ng-1.0.0b2.tar.gz" + + version("1.0.0b2", sha256="9ec55a47c90c8c002b5960c57492ec3021f5193cb26cebc2dc4ea226848651c9") + + depends_on("py-setuptools", type="build") + depends_on("py-sphinx@4:", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-sphinx-theme-builder/package.py b/var/spack/repos/builtin/packages/py-sphinx-theme-builder/package.py new file mode 100644 index 0000000000..ce873cac3f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-sphinx-theme-builder/package.py @@ -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 PySphinxThemeBuilder(PythonPackage): + """A tool for authoring Sphinx themes with a simple (opinionated) workflow.""" + + homepage = "https://sphinx-theme-builder.readthedocs.io/en/latest" + pypi = "sphinx-theme-builder/sphinx-theme-builder-0.2.0b2.tar.gz" + git = "https://github.com/pradyunsg/sphinx-theme-builder" + + version("0.2.0b2", sha256="e9cd98c2bb35bf414fe721469a043cdcc10f0808d1ffcf606acb4a6282a6f288") + + depends_on("py-flit-core@3.2:3", type="build") + + depends_on("py-pyproject-metadata", type=("build", "run")) + depends_on("py-packaging", type=("build", "run")) + depends_on("py-rich", type=("build", "run")) + depends_on("py-nodeenv", type=("build", "run")) + depends_on("py-setuptools", type=("build", "run")) + depends_on("py-tomli", when="^python@:3.10", type=("build", "run")) + depends_on("py-typing-extensions", when="^python@:3.7", type=("build", "run")) |