blob: 2c0c7a393cd30b1a9a861ba4d2cfcc1c937c6278 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# 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")
license("MIT")
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"))
|