summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-diskcache/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-diskcache/package.py b/var/spack/repos/builtin/packages/py-diskcache/package.py
index c25bcb47ca..c2c2bebc3b 100644
--- a/var/spack/repos/builtin/packages/py-diskcache/package.py
+++ b/var/spack/repos/builtin/packages/py-diskcache/package.py
@@ -10,6 +10,9 @@ class PyDiskcache(PythonPackage):
homepage = "http://www.grantjenks.com/docs/diskcache/"
pypi = "diskcache/diskcache-4.1.0.tar.gz"
+ version('5.2.1', sha256='1805acd5868ac10ad547208951a1190a0ab7bbff4e70f9a07cde4dbdfaa69f64')
version('4.1.0', sha256='bcee5a59f9c264e2809e58d01be6569a3bbb1e36a1e0fb83f7ef9b2075f95ce0')
+ depends_on("python", type=("build", "run"), when="@:4.1.0")
+ depends_on("python@3:", type=("build", "run"), when="@5.2.1:")
depends_on('py-setuptools', type='build')