gosam: new version 2.1.1 (#25985)

This commit is contained in:
iarspider 2021-09-17 14:10:41 +02:00 committed by GitHub
parent be8e52fbbe
commit 8e486c1e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,17 +11,21 @@ class PyGosam(PythonPackage):
one-loop amplitudes for multi-particle processes in renormalizable one-loop amplitudes for multi-particle processes in renormalizable
quantum field theories.""" quantum field theories."""
homepage = "https://gosam.hepforge.org" homepage = "https://github.com/gudrunhe/gosam"
url = "https://gosam.hepforge.org/downloads/?f=gosam-2.0.4-6d9f1cba.tar.gz" git = "https://github.com/gudrunhe/gosam.git"
tags = ['hep'] tags = ['hep']
version('2.0.4', sha256='faf621c70f66d9dffc16ac5cce66258067f39f686d722a4867eeb759fcde4f44') version('2.1.1', tag='2.1.1', commit='4b98559212dfcb71f9d983a3a605e4693ac7f83f')
version('2.0.4', sha256='faf621c70f66d9dffc16ac5cce66258067f39f686d722a4867eeb759fcde4f44',
url='https://gosam.hepforge.org/downloads/?f=gosam-2.0.4-6d9f1cba.tar.gz')
version('2.0.3', tag='v2.0.3', commit='4146ab23a06b7c57c10fb36df60758d34aa58387')
depends_on('form', type='run') depends_on('form', type='run')
depends_on('qgraf', type='run') depends_on('qgraf', type='run')
depends_on('gosam-contrib', type='link') depends_on('gosam-contrib', type='link')
depends_on('python@2.7:2.7.99', type=('build', 'run')) depends_on('python@2.7:2.7.99', type=('build', 'run'), when='@:2.0.4')
depends_on('python@3:', type=('build', 'run'), when='@2.1.1:')
def setup_run_environment(self, env): def setup_run_environment(self, env):
gosam_contrib_lib_dir = self.spec['gosam-contrib'].prefix.lib gosam_contrib_lib_dir = self.spec['gosam-contrib'].prefix.lib