Skip to content

Commit 14b8d65

Browse files
jezwilkinsondennisklein
authored andcommitted
fix URLs for HepMC tarball
(cherry picked from commit 5488fc1)
1 parent 83fb9a4 commit 14b8d65

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmake/legacy.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ ExternalProject_Add(pythia6
273273
list(APPEND packages hepmc)
274274
set(hepmc_version "2.06.11")
275275
ExternalProject_Add(hepmc
276-
URL https://hepmc.web.cern.ch/hepmc/releases/hepmc${hepmc_version}.tgz
276+
URL https://hepmc.web.cern.ch/releases/hepmc${hepmc_version}.tgz
277277
URL_HASH SHA256=86b66ea0278f803cde5774de8bd187dd42c870367f1cbf6cdaec8dc7cf6afc10
278278
${CMAKE_DEFAULT_ARGS} CMAKE_ARGS
279279
"-Dlength:STRING=CM"

repos/fairsoft-backports/packages/hepmc/package.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ class Hepmc(CMakePackage):
88
"""The HepMC package is an object oriented, C++ event record for
99
High Energy Physics Monte Carlo generators and simulation."""
1010

11-
homepage = "https://hepmc.web.cern.ch/hepmc/"
12-
url = "https://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.11.tgz"
11+
homepage = "https://hepmc.web.cern.ch/"
12+
url = "https://hepmc.web.cern.ch/releases/hepmc2.06.11.tgz"
1313

1414
tags = ['hep']
1515

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

0 commit comments

Comments
 (0)