spack/var/spack/repos/builtin/packages/py-mpi4py/package.py

28 lines
1.0 KiB
Python
Raw Normal View History

# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
2015-01-23 03:50:01 +08:00
from spack import *
2016-08-10 16:50:00 +08:00
class PyMpi4py(PythonPackage):
2016-08-10 16:50:00 +08:00
"""This package provides Python bindings for the Message Passing
Interface (MPI) standard. It is implemented on top of the
MPI-1/MPI-2 specification and exposes an API which grounds on the
standard MPI-2 C++ bindings.
"""
2015-01-23 03:50:01 +08:00
homepage = "https://pypi.python.org/pypi/mpi4py"
2017-11-18 10:00:36 +08:00
url = "https://pypi.io/packages/source/m/mpi4py/mpi4py-3.0.0.tar.gz"
git = "https://github.com/mpi4py/mpi4py.git"
2015-01-23 03:50:01 +08:00
version('develop', branch='master')
2017-11-18 10:00:36 +08:00
version('3.0.0', 'bfe19f20cef5e92f6e49e50fb627ee70')
2016-02-16 00:53:50 +08:00
version('2.0.0', '4f7d8126d7367c239fd67615680990e3')
2015-01-23 03:50:01 +08:00
version('1.3.1', 'dbe9d22bdc8ed965c23a7ceb6f32fc3c')
2016-02-16 00:53:50 +08:00
depends_on('python@2.7:2.8,3.3:')
2016-03-09 23:46:56 +08:00
depends_on('py-setuptools', type='build')
2015-01-23 03:50:01 +08:00
depends_on('mpi')
depends_on('py-cython', when='@develop', type='build')