diff options
author | Dennis Klein <d.klein@gsi.de> | 2023-10-17 20:58:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 11:58:46 -0700 |
commit | e2bb2595b37455a704027119d303f84b6b28ad83 (patch) | |
tree | a2f18a5da229ccfc3847a0bcdec60cb427676a59 /var | |
parent | b7cbcfdcab6377dd02e18faf2043c4299c83557d (diff) | |
download | spack-e2bb2595b37455a704027119d303f84b6b28ad83.tar.gz spack-e2bb2595b37455a704027119d303f84b6b28ad83.tar.bz2 spack-e2bb2595b37455a704027119d303f84b6b28ad83.tar.xz spack-e2bb2595b37455a704027119d303f84b6b28ad83.zip |
xmlto: add more dependencies (#40578)
`xmllint` is called by `xmlto` during generation of `libzmq`'s docs, so
adding `libxml2`.
The docbook deps and the patches are taken from
https://src.fedoraproject.org/rpms/xmlto/blob/rawhide/f/xmlto.spec
There are still many more dependencies missing, but this is out of scope
of this patch (which is only concerned about the use case of `libzmq`).
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/xmlto/package.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/xmlto/package.py b/var/spack/repos/builtin/packages/xmlto/package.py index 1a018bfa87..ca57481881 100644 --- a/var/spack/repos/builtin/packages/xmlto/package.py +++ b/var/spack/repos/builtin/packages/xmlto/package.py @@ -18,5 +18,18 @@ class Xmlto(AutotoolsPackage): version("0.0.28", sha256="2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3") # FIXME: missing a lot of dependencies - depends_on("libxslt") + depends_on("docbook-xsl", type=("build", "run")) + depends_on("libxml2", type=("build", "run")) # xmllint + depends_on("libxslt", type=("build", "run")) # xsltconf depends_on("util-linux", type=("build", "run")) # getopt with support for longopts + + depends_on("docbook-xml", type="run") + + patch( + "https://src.fedoraproject.org/rpms/xmlto/raw/rawhide/f/xmlto-c99-1.patch", + sha256="056c8bebc25d8d1488cc6a3724e2bcafc0e5e0df5c50080559cdef99bd377839", + ) + patch( + "https://src.fedoraproject.org/rpms/xmlto/raw/rawhide/f/xmlto-c99-2.patch", + sha256="50e39b1810bbf22a1d67944086c5681bcd58b8c325dfb251d56ac15d088fc17a", + ) |