easyblock = 'PythonPackage'

name = 'mpi4py'
version = '2.0.0'

homepage = 'https://bitbucket.org/mpi4py/mpi4py'
description = """MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for
 the Python programming language, allowing any Python program to exploit multiple processors."""

toolchain = {'name': 'intel', 'version': '2015b'}

source_urls = [BITBUCKET_DOWNLOADS]
sources = [SOURCE_TAR_GZ]

py_maj_min = '2.7'
pyver = '%s.10' % py_maj_min
versionsuffix = '-Python-%s' % pyver

dependencies = [('Python', pyver)]

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%s/site-packages/mpi4py' % py_maj_min],
}

moduleclass = 'mpi'
