summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-multiprocess/package.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-multiprocess/package.py b/var/spack/repos/builtin/packages/py-multiprocess/package.py
index beaa083061..97a58a905d 100644
--- a/var/spack/repos/builtin/packages/py-multiprocess/package.py
+++ b/var/spack/repos/builtin/packages/py-multiprocess/package.py
@@ -12,6 +12,7 @@ class PyMultiprocess(PythonPackage):
homepage = "https://github.com/uqfoundation/multiprocess"
url = "https://pypi.io/packages/source/m/multiprocess/multiprocess-0.70.5.zip"
+ version('0.70.7', sha256='3394f1fbd0d87112690a877e49eb7917d851ee8d822294d522dd4deae12febdb')
version('0.70.5', sha256='c4c196f3c4561dc1d78139c3e73709906a222d2fc166ef3eef895d8623df7267')
version('0.70.4', sha256='a692c6dc8392c25b29391abb58a9fbdc1ac38bca73c6f27d787774201e68e12c')
@@ -19,3 +20,14 @@ class PyMultiprocess(PythonPackage):
depends_on('py-setuptools@0.6:', type='build')
depends_on('py-dill@0.2.6:', type=('build', 'run'))
+ depends_on('py-dill@0.2.9:', type=('build', 'run'), when='@0.70.7:')
+
+ def url_for_version(self, version):
+ url = self.url.rsplit('/', 1)[0]
+ if version >= Version('0.70.7'):
+ url += '/multiprocess-{0}.tar.gz'
+ else:
+ url += '/multiprocess-{0}.zip'
+
+ url = url.format(version)
+ return url