summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheofilos Manitaras <manitaras@cscs.ch>2021-11-05 18:07:44 +0100
committerGitHub <noreply@github.com>2021-11-05 11:07:44 -0600
commit549bd7044957da6afa90d844cacaa63b1cc22e7c (patch)
tree974390dc01f1179df831e30e3300e20588b04c41
parent4f692e4d9f9c02ac6b0e17ca5c7274d4e1d65830 (diff)
downloadspack-549bd7044957da6afa90d844cacaa63b1cc22e7c.tar.gz
spack-549bd7044957da6afa90d844cacaa63b1cc22e7c.tar.bz2
spack-549bd7044957da6afa90d844cacaa63b1cc22e7c.tar.xz
spack-549bd7044957da6afa90d844cacaa63b1cc22e7c.zip
py-mpi4py: Add newer versions (#27239)
* py-mpi4py: Add newer versions * Address PR comments
-rw-r--r--var/spack/repos/builtin/packages/py-mpi4py/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-mpi4py/package.py b/var/spack/repos/builtin/packages/py-mpi4py/package.py
index d08dad163c..a81ae537f4 100644
--- a/var/spack/repos/builtin/packages/py-mpi4py/package.py
+++ b/var/spack/repos/builtin/packages/py-mpi4py/package.py
@@ -15,7 +15,10 @@ class PyMpi4py(PythonPackage):
pypi = "mpi4py/mpi4py-3.0.3.tar.gz"
git = "https://github.com/mpi4py/mpi4py.git"
- version('develop', branch='master')
+ version('master', branch='master')
+ version('3.1.2', sha256='40dd546bece8f63e1131c3ceaa7c18f8e8e93191a762cd446a8cfcf7f9cce770')
+ version('3.1.1', sha256='e11f8587a3b93bb24c8526addec664b586b965d83c0882b884c14dc3fd6b9f5c')
+ version('3.1.0', sha256='134fa2b2fe6d8f91bcfcc2824cfd74b55ca3dcbff4d185b1bda009beea9232ec')
version('3.0.3', sha256='012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f')
version('3.0.1', sha256='6549a5b81931303baf6600fa2e3bc04d8bd1d5c82f3c21379d0d64a9abcca851')
version('3.0.0', sha256='b457b02d85bdd9a4775a097fac5234a20397b43e073f14d9e29b6cd78c68efd7')
@@ -23,9 +26,11 @@ class PyMpi4py(PythonPackage):
version('1.3.1', sha256='e7bd2044aaac5a6ea87a87b2ecc73b310bb6efe5026031e33067ea3c2efc3507')
depends_on('python@2.6:2.7,3.2:')
+ depends_on('python@2.7:2.8,3.5:', when='@3.1:')
depends_on('py-setuptools', type='build')
depends_on('mpi')
- depends_on('py-cython@0.22.0:', when='@develop', type='build')
+ depends_on('py-cython@0.27.0:', when='@master', type='build')
+ depends_on('py-3to2', when='@3.1: ^python@:2', type='build')
def build_args(self, spec, prefix):
return ['--mpicc=%s -shared' % spec['mpi'].mpicc]