2018-10-08 04:52:23 +08:00
|
|
|
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
|
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2016-05-12 12:22:25 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# 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
|
|
|
|
2017-01-17 10:13:37 +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"
|
2018-07-24 09:55:17 +08:00
|
|
|
git = "https://github.com/mpi4py/mpi4py.git"
|
2015-01-23 03:50:01 +08:00
|
|
|
|
2018-07-24 09:55:17 +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
|
|
|
|
2017-10-19 05:56:48 +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')
|
2018-01-03 03:34:24 +08:00
|
|
|
depends_on('py-cython', when='@develop', type='build')
|