easyblock = 'RPackage'

name = 'ncdf4'
version = '1.10'

homepage = 'http://cran.r-project.org/web/packages/ncdf4'
description = """This package provides a high-level R interface to data files written using Unidata's netCDF library
 (version 4 or earlier), which are binary data files that are portable across platforms and include metadata
 information in addition to the data sets."""

toolchain = {'name': 'ictce', 'version': '5.3.0'}

source_urls = [
    'http://cran.freestatistics.org/src/contrib',
    'http://cran.r-project.org/src/contrib/Archive/ncdf4',
]
sources = ['%(name)s_%(version)s.tar.gz']

r = 'R'
rver = '3.0.2'

versionsuffix = '-%s-%s' % (r, rver)

dependencies = [
    (r, rver),
    ('netCDF', '4.2.1.1'),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['ncdf4'],
}

moduleclass = 'math'
