
* add package evtgen fix formatting add evtgen dependencies and update pythia8 fix formatting * [evtgen] update versions * [pythia8] add 'without-PACKAGE' args * fix formatting * Add LHAPDF Co-authored-by: iarspider * Add package whizard fix formatting * [pyhtia8, evtgen] add conflict msg re: circular dependencies * [pyhtia8, evtgen] fix conflicts * [pyhtia8, evtgen] fix msg string * Set pythia8 default to ~evtgen
28 lines
857 B
Python
28 lines
857 B
Python
# Copyright 2013-2020 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 import *
|
|
|
|
|
|
class Photos(AutotoolsPackage):
|
|
""" Photos is a Monte Carlo program for bremsstrahlung in the decay
|
|
of particles and resonances."""
|
|
|
|
homepage = "http://photospp.web.cern.ch/photospp/"
|
|
url = "http://photospp.web.cern.ch/photospp/resources/PHOTOS.3.61/PHOTOS.3.61-LHC.tar.gz"
|
|
|
|
version('3.61', sha256='acd3bcb769ba2a3e263de399e9b89fd6296405c9cbc5045b83baba3e60db4b26')
|
|
|
|
maintainers = ['vvolkl']
|
|
|
|
depends_on('hepmc@:2.99.99')
|
|
|
|
def configure_args(self):
|
|
args = []
|
|
|
|
args.append('--with-hepmc=%s' % self.spec["hepmc"].prefix)
|
|
args.append('--without-hepmc3')
|
|
return args
|