summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2024-02-05 10:38:24 +0100
committerGitHub <noreply@github.com>2024-02-05 10:38:24 +0100
commit89e387cb67d184af4239ee27fc894793ce057839 (patch)
treedab3ff2637144b7f24d8c6641cdfcf8246c6fd3f
parent19c46de69f4abf68e5e5bcdce35672954f60577b (diff)
downloadspack-89e387cb67d184af4239ee27fc894793ce057839.tar.gz
spack-89e387cb67d184af4239ee27fc894793ce057839.tar.bz2
spack-89e387cb67d184af4239ee27fc894793ce057839.tar.xz
spack-89e387cb67d184af4239ee27fc894793ce057839.zip
latex2html: new version 2024 (#42476)
-rw-r--r--var/spack/repos/builtin/packages/latex2html/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/latex2html/package.py b/var/spack/repos/builtin/packages/latex2html/package.py
index 18ea8babd2..cc9346e4fa 100644
--- a/var/spack/repos/builtin/packages/latex2html/package.py
+++ b/var/spack/repos/builtin/packages/latex2html/package.py
@@ -13,7 +13,7 @@ class Latex2html(AutotoolsPackage):
"""LaTeX2HTML is a utility that converts LaTeX documents to web pages in HTML."""
homepage = "https://www.latex2html.org/"
- url = "https://github.com/latex2html/latex2html/archive/refs/tags/v2021.tar.gz"
+ url = "https://github.com/latex2html/latex2html/archive/refs/tags/v2024.tar.gz"
git = "https://github.com/latex2html/latex2html.git"
maintainers("cessenat")
@@ -21,6 +21,8 @@ class Latex2html(AutotoolsPackage):
license("GPL-2.0-only")
version("master", branch="master")
+ version("2024", sha256="554a51f83431683521b9e47a19edf07c90960feb040048a08ad8301bdca2c6fa")
+ version("2023.2", sha256="2a3f50621a71c9c0c425fb6709ae69bb2cf4df4bfe72ac661c2ea302e5aba185")
version("2022.2", sha256="b1d5bba7bab7d0369d1241f2d8294137a52b7cb7df11239bfa15ec0a2546c093")
version("2021", sha256="872fe7a53f91ababaafc964847639e3644f2b9fab3282ea059788e4e18cbba47")
version("2017", sha256="28a5d4b8f14b1f95928da281b6332559bcd83349ba439b2fa43655b2e21c83ab")
@@ -38,6 +40,9 @@ class Latex2html(AutotoolsPackage):
# Provides pdftocairo
depends_on("poppler+glib", type=("build", "run"), when="+svg")
+ def url_for_version(self, version):
+ return f"https://github.com/latex2html/latex2html/archive/refs/tags/v{version}.tar.gz"
+
# A copy of texlive function as long as it does not provide the
# bin env to dependent package:
def tex_arch(self):