xcdf: add newly released v3.01 with Python 3 support (#41808)
This commit is contained in:
parent
1c09d0ac9b
commit
fc1e0178bf
@ -14,6 +14,13 @@ class Xcdf(CMakePackage):
|
|||||||
|
|
||||||
license("BSD-2-Clause")
|
license("BSD-2-Clause")
|
||||||
|
|
||||||
|
version("3.01", sha256="39fe816f40d6af18e16e71ffcf958258fdac4959ac894a60d1b863efaa57754e")
|
||||||
version("3.00.03", sha256="4e445a2fea947ba14505d08177c8d5b55856f8411f28de1fe4d4c00f6824b711")
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user