diff options
author | Felix Werner <Felix.Werner@mpi-hd.mpg.de> | 2023-12-28 13:11:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 13:11:04 +0100 |
commit | fc1e0178bf8124dc7a907a68c6f93a28ee685a7f (patch) | |
tree | 07c72f3784431478ad736c12b08f651514d8d368 | |
parent | 1c09d0ac9b857077028130008c584f9ab83c8198 (diff) | |
download | spack-fc1e0178bf8124dc7a907a68c6f93a28ee685a7f.tar.gz spack-fc1e0178bf8124dc7a907a68c6f93a28ee685a7f.tar.bz2 spack-fc1e0178bf8124dc7a907a68c6f93a28ee685a7f.tar.xz spack-fc1e0178bf8124dc7a907a68c6f93a28ee685a7f.zip |
xcdf: add newly released v3.01 with Python 3 support (#41808)
-rw-r--r-- | var/spack/repos/builtin/packages/xcdf/package.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/xcdf/package.py b/var/spack/repos/builtin/packages/xcdf/package.py index e55dd5410b..06a52b2842 100644 --- a/var/spack/repos/builtin/packages/xcdf/package.py +++ b/var/spack/repos/builtin/packages/xcdf/package.py @@ -14,6 +14,13 @@ class Xcdf(CMakePackage): license("BSD-2-Clause") + version("3.01", sha256="39fe816f40d6af18e16e71ffcf958258fdac4959ac894a60d1b863efaa57754e") version("3.00.03", sha256="4e445a2fea947ba14505d08177c8d5b55856f8411f28de1fe4d4c00f6824b711") - patch("remove_python_support.patch") + patch("remove_python_support.patch", when="@3.00.03") + + depends_on("python@3.7:", when="@3.01:") + depends_on("py-pybind11", when="@3.01:", type="build") + + def setup_run_environment(self, env): + env.prepend_path("PYTHONPATH", self.prefix.lib) |