herwig, thepeg: Add latest version and specify rivet dependencies better (#48142)

* thepeg: Correctly specify rivet version for dependency

* herwig3: Add latest version 7.3.0

* thepeg: Make sure to have consistent hepmc version

rivet and thepeg need to have the same hepmc version otherwise things
will not compile
This commit is contained in:
Thomas Madlener 2024-12-22 22:36:14 +01:00 committed by GitHub
parent 858c7ca1a2
commit d1d61820f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,7 @@ class Herwig3(AutotoolsPackage):
license("GPL-3.0-only")
version("7.3.0", sha256="2624819d2dff105ba952ea1b5cf12eb6f4926d4951774a41907699e2f567686c")
version("7.2.3", sha256="5599899379b01b09e331a2426d78d39b7f6ec126db2543e9d340aefe6aa50f84")
version("7.2.2", sha256="53e06b386df5bc20fe268b6c8ba50f1e62b6744e577d383ec836ea3fc672c383")
version("7.2.1", sha256="d4fff32f21c5c08a4b2e563c476b079859c2c8e3b78d853a8a60da96d5eea686")
@ -33,6 +34,7 @@ class Herwig3(AutotoolsPackage):
depends_on("thepeg@2.2.1", when="@7.2.1")
depends_on("thepeg@2.2.2", when="@7.2.2")
depends_on("thepeg@2.2.3", when="@7.2.3")
depends_on("thepeg@2.3.0", when="@7.3.0")
depends_on("evtgen")
depends_on("boost +math+test")

View File

@ -71,7 +71,8 @@ class Thepeg(AutotoolsPackage):
depends_on("hepmc3", when="hepmc=3")
conflicts("hepmc=3", when="@:2.1", msg="HepMC3 support was added in 2.2.0")
depends_on("fastjet", when="@2.0.0:")
depends_on("rivet", when="@2.0.3: +rivet")
depends_on("rivet@:3 hepmc=2", when="@2.0.3: +rivet hepmc=2")
depends_on("rivet@:3 hepmc=3", when="@2.0.3: +rivet hepmc=3")
depends_on("boost +test", when="@2.1.1:")
depends_on("autoconf", type="build")