summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-gosam/package.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-gosam/package.py b/var/spack/repos/builtin/packages/py-gosam/package.py
index e9ea4dfe08..6f7a797f0f 100644
--- a/var/spack/repos/builtin/packages/py-gosam/package.py
+++ b/var/spack/repos/builtin/packages/py-gosam/package.py
@@ -11,17 +11,21 @@ class PyGosam(PythonPackage):
one-loop amplitudes for multi-particle processes in renormalizable
quantum field theories."""
- homepage = "https://gosam.hepforge.org"
- url = "https://gosam.hepforge.org/downloads/?f=gosam-2.0.4-6d9f1cba.tar.gz"
+ homepage = "https://github.com/gudrunhe/gosam"
+ git = "https://github.com/gudrunhe/gosam.git"
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('qgraf', type='run')
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):
gosam_contrib_lib_dir = self.spec['gosam-contrib'].prefix.lib