easyblock = 'PythonPackage'

name = 'h5py'
version = '2.7.0'
versionsuffix = '-Python-%(local_pyver)s-base'

homepage = 'https://github.com/jupyter/testpath'
description = """Test utilities for code working with files and commands"""

toolchain = {'name': 'intel', 'version': '2017a'}

source_urls = [
    'https://pypi.python.org/packages/07/22/992b1eaa9a33caa40c0fc700bbd5db60da0335c3b581fe1fc72296942736/']
sources = ['%(name)s-%(version)s-cp27-cp27mu-manylinux1_x86_64.whl']

dependencies = [
    ('Python', '2.7.13', '-base', True),
    ('HDF5', '1.8.18', '-serial'),
    ('numpy', '1.13.0', versionsuffix, True),
    ('mpi4py', '2.0.0', versionsuffix),  # required for MPI support
]

use_pip = True
unpack_sources = False

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%(local_pyshortver)s/site-packages/h5py'],
}

#sanity_check_commands = [('python', '-c "import h5py; assert(h5py.__version__ == \'%(version)s\')"')]

moduleclass = 'math'
