py-furo: add new package (#38904)
This commit is contained in:
parent
74d5da43a8
commit
a9d5f24791
22
var/spack/repos/builtin/packages/py-furo/package.py
Normal file
22
var/spack/repos/builtin/packages/py-furo/package.py
Normal file
@ -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"))
|
@ -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"))
|
@ -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"))
|
Loading…
Reference in New Issue
Block a user