summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-dill/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-dill/package.py b/var/spack/repos/builtin/packages/py-dill/package.py
index f492e8c773..656725f9bf 100644
--- a/var/spack/repos/builtin/packages/py-dill/package.py
+++ b/var/spack/repos/builtin/packages/py-dill/package.py
@@ -12,6 +12,7 @@ class PyDill(PythonPackage):
homepage = "https://github.com/uqfoundation/dill"
pypi = "dill/dill-0.2.7.tar.gz"
+ version('0.3.4', sha256='9f9734205146b2b353ab3fec9af0070237b6ddae78452af83d2fca84d739e675')
version('0.3.1', sha256='d3ddddf2806a7bc9858b20c02dc174396795545e9d62f243b34481fd26eb3e2c')
version('0.2.9', sha256='f6d6046f9f9195206063dd0415dff185ad593d6ee8b0e67f12597c0f4df4986f')
version('0.2.7', sha256='ddda0107e68e4eb1772a9f434f62a513c080c7171bd0dd6fb65d992788509812')
@@ -25,13 +26,14 @@ class PyDill(PythonPackage):
depends_on('python@2.5:2.8,3.1:', type=('build', 'run'))
depends_on('python@2.6:2.8,3.1:', type=('build', 'run'), when='@0.3.0:')
+ depends_on('python@2.7:2.8,3.6:', type=('build', 'run'), when='@0.3.4:')
depends_on('py-setuptools@0.6:', type='build')
def url_for_version(self, version):
url = "https://pypi.io/packages/source/d/dill/"
- if version >= Version('0.2.7'):
+ if Version('0.3.4') > version >= Version('0.2.7'):
url += 'dill-{0}.tar.gz'
else:
url += 'dill-{0}.zip'