summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Madlener <thomas.madlener@desy.de>2024-08-02 02:26:42 +0200
committerGitHub <noreply@github.com>2024-08-01 18:26:42 -0600
commit10a4de8e04e0c4422d35935b979f23a99ad45bdf (patch)
tree1a7790dc59f710a560bce3c0c014b1397e68b95e
parent96ddbd5e17a200dd3f78e6d4f6aff287d96d9e31 (diff)
downloadspack-10a4de8e04e0c4422d35935b979f23a99ad45bdf.tar.gz
spack-10a4de8e04e0c4422d35935b979f23a99ad45bdf.tar.bz2
spack-10a4de8e04e0c4422d35935b979f23a99ad45bdf.tar.xz
spack-10a4de8e04e0c4422d35935b979f23a99ad45bdf.zip
edm4hep: Add v0.99 release and deprecate older versions (#45516)
* edm4hep: Add v0.99 and deprecated older versions * edm4hep: Fix nlohmann-json dependency version * Keep 0.10.5 undeprecated
-rw-r--r--var/spack/repos/builtin/packages/edm4hep/package.py30
1 files changed, 24 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/edm4hep/package.py b/var/spack/repos/builtin/packages/edm4hep/package.py
index a908c0dd4d..b795086353 100644
--- a/var/spack/repos/builtin/packages/edm4hep/package.py
+++ b/var/spack/repos/builtin/packages/edm4hep/package.py
@@ -21,16 +21,33 @@ class Edm4hep(CMakePackage):
license("Apache-2.0")
version("main", branch="main")
+ version("0.99", sha256="3636e8c14474237029bf1a8be11c53b57ad3ed438fd70a7e9b87c5d08f1f2ea6")
version("0.10.5", sha256="003c8e0c8e1d1844592d43d41384f4320586fbfa51d4d728ae0870b9c4f78d81")
version(
"0.10.4",
sha256="76d51947525bc8a27b62f567033255da2e632d42d07a32ff578887948d56bd6f",
deprecated=True,
)
- version("0.10.3", sha256="0ba5e4e90376f750f9531831909160e3d7b9c2d1f020d7556f0d3977b7eaafcc")
- version("0.10.2", sha256="c22c5c2f0fd1d09da9b734c1fa7ee546675fd2b047406db6ab8266e7657486d2")
- version("0.10.1", sha256="28a3bd4df899309b14ec0d441f8b6ed0065206a08a0018113bb490e9d008caed")
- version("0.10", sha256="a95c917c19793cfad6b0959854a653c5ce698c965598cabd649d544da07712c0")
+ version(
+ "0.10.3",
+ sha256="0ba5e4e90376f750f9531831909160e3d7b9c2d1f020d7556f0d3977b7eaafcc",
+ deprecated=True,
+ )
+ version(
+ "0.10.2",
+ sha256="c22c5c2f0fd1d09da9b734c1fa7ee546675fd2b047406db6ab8266e7657486d2",
+ deprecated=True,
+ )
+ version(
+ "0.10.1",
+ sha256="28a3bd4df899309b14ec0d441f8b6ed0065206a08a0018113bb490e9d008caed",
+ deprecated=True,
+ )
+ version(
+ "0.10",
+ sha256="a95c917c19793cfad6b0959854a653c5ce698c965598cabd649d544da07712c0",
+ deprecated=True,
+ )
depends_on("cxx", type="build") # generated
@@ -48,8 +65,9 @@ class Edm4hep(CMakePackage):
depends_on("python", type="build")
depends_on("root@6.08:")
- depends_on("nlohmann-json@3.10:")
- depends_on("podio@0.15:")
+ depends_on("nlohmann-json@3.10.5:")
+ depends_on("podio@1:", when="@0.99:")
+ depends_on("podio@0.15:", when="@:0.10.5")
for _std in _cxxstd_values:
depends_on("podio cxxstd=" + _std, when="cxxstd=" + _std)