py-mpi4py: Add develop version and dependencies (#5798)

* py-mpi4py: Add develop version and dependencies

- Add cython dependency for develop version

- Add explicit python dependency

* py-mpi4py: Specify 2.0.1 instead of develop for conditional dep
This commit is contained in:
Stephen Hudson 2017-10-18 16:56:48 -05:00 committed by Christoph Junghans
parent 9b994c05f4
commit 0b62625e9d

View file

@ -35,8 +35,11 @@ class PyMpi4py(PythonPackage):
homepage = "https://pypi.python.org/pypi/mpi4py"
url = "https://pypi.io/packages/source/m/mpi4py/mpi4py-1.3.1.tar.gz"
version('develop', git='https://github.com/mpi4py/mpi4py.git', branch='master')
version('2.0.0', '4f7d8126d7367c239fd67615680990e3')
version('1.3.1', 'dbe9d22bdc8ed965c23a7ceb6f32fc3c')
depends_on('python@2.7:2.8,3.3:')
depends_on('py-setuptools', type='build')
depends_on('mpi')
depends_on('py-cython', when='@2.0.1:', type='build')