summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/reframe/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/reframe/package.py b/var/spack/repos/builtin/packages/reframe/package.py
index 00e200d3ec..5c1f19659b 100644
--- a/var/spack/repos/builtin/packages/reframe/package.py
+++ b/var/spack/repos/builtin/packages/reframe/package.py
@@ -23,6 +23,7 @@ class Reframe(Package):
maintainers = ['victorusu', 'vkarak']
version('master', branch='master')
+ version('3.1', sha256='a9f6ac1ae8fdc51be8032d5cc79c117ff602f57b57aace2e195b2cfe1bd3a16f')
version('3.0', sha256='fb76b4513c03b84f5b3bbbc988f7747e5b58f04c983b3935bab1f2e81adccb82')
version('2.21', sha256='f35d4fda2f9672c87d3ef664d9a2d6eb0c01c88218a31772a6645c32c8934c4d')
version('2.20', sha256='310c18d705858bbe6bd9a2dc4d382b254c1f093b0671d72363f2111e8c162ba4')
@@ -42,6 +43,9 @@ class Reframe(Package):
depends_on("py-pygelf", when="+gelf", type="run")
depends_on("py-sphinx", when="+docs", type="build")
depends_on("py-sphinx-rtd-theme", when="+docs", type="build")
+ # ReFrame requires git up to version 3.1, see:
+ # https://github.com/eth-cscs/reframe/issues/1464
+ depends_on("git", when="@2.0:3.1", type="run")
def install(self, spec, prefix):
if spec.version >= Version('3.0'):