py-sphinx-jinja2-compat: new package (#41310)
* [add] py-sphinx-jinja2-compat: new package * py-whey-pth: new package, dependence of py-sphinx-jinja2-compat --------- Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
This commit is contained in:
parent
8de814eddf
commit
c61da8381c
@ -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 PySphinxJinja2Compat(PythonPackage):
|
||||
"""Patches Jinja2 v3 to restore compatibility with earlier Sphinx versions."""
|
||||
|
||||
homepage = "https://github.com/sphinx-toolbox/sphinx-jinja2-compat"
|
||||
pypi = "sphinx_jinja2_compat/sphinx_jinja2_compat-0.2.0.tar.gz"
|
||||
|
||||
maintainers("LydDeb")
|
||||
|
||||
version("0.2.0", sha256="c41346d859653e202b623f4236da8936243ed734abf5984adc3bef59d6f9a946")
|
||||
|
||||
depends_on("py-whey", type="build")
|
||||
depends_on("py-whey-pth", type="build")
|
||||
depends_on("py-jinja2@2.10:", type=("build", "run"))
|
||||
depends_on("py-markupsafe@1:", type=("build", "run"))
|
22
var/spack/repos/builtin/packages/py-whey-pth/package.py
Normal file
22
var/spack/repos/builtin/packages/py-whey-pth/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 PyWheyPth(PythonPackage):
|
||||
"""Extension to whey to support .pth files."""
|
||||
|
||||
homepage = "https://github.com/repo-helper/whey-pth"
|
||||
pypi = "whey-pth/whey-pth-0.0.5.tar.gz"
|
||||
|
||||
maintainers("LydDeb")
|
||||
|
||||
version("0.0.5", sha256="cbfcc723bc587ecde44c6b0c83270673d38d88c3fc8f8268a49b21db1fd60747")
|
||||
|
||||
depends_on("py-wheel@0.34.2:", type="build")
|
||||
depends_on("py-setuptools@40.6.0:60,62:", type="build")
|
||||
depends_on("py-dom-toml@0.4.0:", type=("build", "run"))
|
||||
depends_on("py-whey@0.0.15:", type=("build", "run"))
|
Loading…
Reference in New Issue
Block a user