File indexing completed on 2025-01-18 09:15:27
0001
0002
0003
0004
0005
0006 from spack.package import *
0007
0008
0009 class Pythia6m(CMakePackage):
0010 """Pythia6 modified to better describe lepton-nucleon scattering
0011 at intermediate energies."""
0012
0013 homepage = "https://gitlab.com/eic/mceg/pythia6m"
0014 url = "https://gitlab.com/eic/mceg/pythia6m/-/archive/master/pythia6m-master.tar.gz"
0015 list_url = "https://gitlab.com/eic/mceg/pythia6m/-/tags"
0016 git = "https://gitlab.com/eic/mceg/pythia6m.git"
0017
0018 tags = ["eic"]
0019
0020 version("master", branch="master", submodules=True)
0021
0022 depends_on("fortran", type="build")
0023 depends_on("cmake@2.8:", type="build")
0024 depends_on("root")
0025
0026 def cmake_args(self):
0027 args = []
0028
0029 args.append(
0030 "-DCMAKE_CXX_STANDARD=%s" % self.spec["root"].variants["cxxstd"].value
0031 )
0032 return args