name = 'netcdf4-python'
version = '1.1.8'

homepage = 'https://unidata.github.io/netcdf4-python/'
description = """Python/numpy interface to netCDF."""

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

source_urls = ['https://github.com/Unidata/netcdf4-python/archive/']
sources = ['v%(version)srel.tar.gz']

patches = ['netcdf4-python-%(version)s-avoid-diskless-test.patch']

python = 'Python'
pythonver = '2.7.10'
pythonshortver = '.'.join(pythonver.split('.')[0:2])
versionsuffix = '-%s-%s' % (python, pythonver)

dependencies = [
    (python, pythonver),
    ('numpy', '1.10.4', versionsuffix),
    ('HDF5', '1.8.13'),
    ('netCDF', '4.3.2'),
    ('cURL', '7.43.0'),
]

moduleclass = 'data'
