Skip to content

Commit

Permalink
fix URLs for HepMC tarball
Browse files Browse the repository at this point in the history
(cherry picked from commit 5488fc1)
  • Loading branch information
jezwilkinson authored and dennisklein committed Jul 3, 2024
1 parent 83fb9a4 commit 14b8d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/legacy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ ExternalProject_Add(pythia6
list(APPEND packages hepmc)
set(hepmc_version "2.06.11")
ExternalProject_Add(hepmc
URL https://hepmc.web.cern.ch/hepmc/releases/hepmc${hepmc_version}.tgz
URL https://hepmc.web.cern.ch/releases/hepmc${hepmc_version}.tgz
URL_HASH SHA256=86b66ea0278f803cde5774de8bd187dd42c870367f1cbf6cdaec8dc7cf6afc10
${CMAKE_DEFAULT_ARGS} CMAKE_ARGS
"-Dlength:STRING=CM"
Expand Down
6 changes: 3 additions & 3 deletions repos/fairsoft-backports/packages/hepmc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class Hepmc(CMakePackage):
"""The HepMC package is an object oriented, C++ event record for
High Energy Physics Monte Carlo generators and simulation."""

homepage = "https://hepmc.web.cern.ch/hepmc/"
url = "https://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.11.tgz"
homepage = "https://hepmc.web.cern.ch/"
url = "https://hepmc.web.cern.ch/releases/hepmc2.06.11.tgz"

tags = ['hep']

Expand Down Expand Up @@ -38,5 +38,5 @@ def url_for_version(self, version):
if version <= Version("2.06.08"):
url = "http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-{0}.tar.gz"
else:
url = "https://hepmc.web.cern.ch/hepmc/releases/hepmc{0}.tgz"
url = "https://hepmc.web.cern.ch/releases/hepmc{0}.tgz"
return url.format(version)

0 comments on commit 14b8d65

Please sign in to comment.