diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/circe2/package.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/circe2/package.py b/var/spack/repos/builtin/packages/circe2/package.py new file mode 100644 index 0000000000..21ae748bba --- /dev/null +++ b/var/spack/repos/builtin/packages/circe2/package.py @@ -0,0 +1,42 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +from spack.package import * + + +class Circe2(AutotoolsPackage): + """Circe2 is a beam spectrum generator that provides efficient, realistic + and reproducible parametrizations of the correlated e+/e- and gamma beam + spectra for linear colliders and photon colliders. + """ + + homepage = "https://whizard.hepforge.org/circe.html" + url = "https://git.physik.uni-wuerzburg.de/ohl/circe2-public/-/raw/main/circe2-3.1.2.1.tar.gz" + + tags = ["hep"] + + maintainers("tmadlener") + + version("3.1.2.1", sha256="8bb09e6f566adefcf7b5b1cf9d9fe4536dd3dd11ed3674861de29e177ee0bb04") + + variant("doc", default=False, description="Create the latex documentation") + + depends_on("ocaml@4.05:") + depends_on("texlive", when="+doc") + + conflicts( + "%gcc@:5.0", + msg="gfortran needs to support Fortran 2008. For more detailed information see https://whizard.hepforge.org/compilers.html", + ) + conflicts( + "%gcc@6.5.0", + msg="Due to severe regressions, gfortran 6.5.0 can not be used. See https://whizard.hepforge.org/compilers.html", + ) + + conflicts( + "%intel@:17", + msg="The fortran compiler needs to support Fortran 2008. For more detailed information see https://whizard.hepforge.org/compilers.html", + ) |