From 3baac2faac4abd9378561c22e62e90aafb40ff06 Mon Sep 17 00:00:00 2001 From: Ryan Marcellino <67644978+myan-rarcellino-nnl@users.noreply.github.com> Date: Fri, 30 Jul 2021 06:14:58 -0400 Subject: py-diskcache: add v5.2.1 (#25131) Co-authored-by: Cloud User --- var/spack/repos/builtin/packages/py-diskcache/package.py | 3 +++ 1 file changed, 3 insertions(+) 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') -- cgit v1.2.3-70-g09d2