diff options
author | Martin Aumüller <aumuell@reserv.at> | 2023-06-03 19:33:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-03 10:33:59 -0700 |
commit | 9dfba4659e88a06a3ad430f2daccb56e954335e3 (patch) | |
tree | 71c985e44b03b8f2bed5f602ced588f34cb6e0a6 | |
parent | 7fca252aa4bed357b25cf109d76d9e8c657ccc98 (diff) | |
download | spack-9dfba4659e88a06a3ad430f2daccb56e954335e3.tar.gz spack-9dfba4659e88a06a3ad430f2daccb56e954335e3.tar.bz2 spack-9dfba4659e88a06a3ad430f2daccb56e954335e3.tar.xz spack-9dfba4659e88a06a3ad430f2daccb56e954335e3.zip |
botan: checksum new versions and enable external find (#38081)
* botan: checksum new versions, including new major
version 3 breaks API
* botan: support external find
-rw-r--r-- | var/spack/repos/builtin/packages/botan/package.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/botan/package.py b/var/spack/repos/builtin/packages/botan/package.py index 53f0ff0ad3..0e32aba748 100644 --- a/var/spack/repos/builtin/packages/botan/package.py +++ b/var/spack/repos/builtin/packages/botan/package.py @@ -14,6 +14,9 @@ class Botan(MakefilePackage): maintainers("aumuell") + version("3.0.0", sha256="5da552e00fa1c047a90c22eb5f0247ec27e7432b68b78e10a7ce0955269ccad7") + version("2.19.3", sha256="dae047f399c5a47f087db5d3d9d9e8f11ae4985d14c928d71da1aff801802d55") + version("2.19.2", sha256="3af5f17615c6b5cd8b832d269fb6cb4d54ec64f9eb09ddbf1add5093941b4d75") version("2.19.1", sha256="e26e00cfefda64082afdd540d3c537924f645d6a674afed2cd171005deff5560") version("2.19.0", sha256="240d9e56e6acb91ef4cf06a8a1c6c0f101c61d40cf48cccf139faef821d7040b") version("2.18.2", sha256="541a3b13f1b9d30f977c6c1ae4c7bfdfda763cda6e44de807369dce79f42307e") @@ -33,6 +36,8 @@ class Botan(MakefilePackage): variant("doc", default=False, description="Build documentation") + executables = ["^botan$"] + depends_on("python", type="build") depends_on("py-sphinx@1.2:", type="build", when="+doc") @@ -48,3 +53,8 @@ class Botan(MakefilePackage): else: args.append("--without-documentation") return args + + @classmethod + def determine_version(cls, exe): + output = Executable(exe)("--version", output=str, error=str) + return output |