summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-09-17 14:10:41 +0200
committerGitHub <noreply@github.com>2021-09-17 06:10:41 -0600
commit8e486c1e57f49e628a2d91285b7fb676c0c6c005 (patch)
tree9e214fbafa43dc88021f8ce0fd453dc3527d05f0
parentbe8e52fbbec8106150680fc628dc72e69e5a20be (diff)
downloadspack-8e486c1e57f49e628a2d91285b7fb676c0c6c005.tar.gz
spack-8e486c1e57f49e628a2d91285b7fb676c0c6c005.tar.bz2
spack-8e486c1e57f49e628a2d91285b7fb676c0c6c005.tar.xz
spack-8e486c1e57f49e628a2d91285b7fb676c0c6c005.zip
gosam: new version 2.1.1 (#25985)
-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