madgraph5amc: remove custom phases

This commit is contained in:
Massimiliano Culpo 2022-04-08 21:52:45 +02:00 committed by Harmen Stoppels
parent c8f37797a4
commit a9a7ac71fa

View File

@ -8,7 +8,7 @@
from spack import * from spack import *
class Madgraph5amc(Package): class Madgraph5amc(MakefilePackage):
"""MadGraph5_aMC@NLO is a framework that aims at providing """MadGraph5_aMC@NLO is a framework that aims at providing
all the elements necessary for SM and BSM phenomenology, all the elements necessary for SM and BSM phenomenology,
such as the computations of cross sections, the generation such as the computations of cross sections, the generation
@ -57,8 +57,6 @@ class Madgraph5amc(Package):
patch('madgraph5amc-2.8.0.atlas.patch', level=0, when='@2.8.0+atlas') patch('madgraph5amc-2.8.0.atlas.patch', level=0, when='@2.8.0+atlas')
patch('madgraph5amc-2.8.0.atlas.patch', level=0, when='@2.8.1+atlas') patch('madgraph5amc-2.8.0.atlas.patch', level=0, when='@2.8.1+atlas')
phases = ['edit', 'build', 'install']
def edit(self, spec, prefix): def edit(self, spec, prefix):
def set_parameter(name, value): def set_parameter(name, value):
config_files.filter('^#?[ ]*' + name + '[ ]*=.*$', config_files.filter('^#?[ ]*' + name + '[ ]*=.*$',