name = 'NCL'
version = '6.5.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.ncl.ucar.edu'
description = "NCL is an interpreted language designed specifically for scientific data analysis and visualization."

toolchain = {'name': 'foss', 'version': '2018b'}
toolchainopts = {'cstd': 'c99', 'openmp': True, 'pic': True}

source_urls = ['https://www.earthsystemgrid.org/dataset/ncl.65s0.src/file/']
sources = ['%(namelower)s_ncarg-6.5.0.tar.gz']
patches = ['NCL-6.4.0_fix-types.patch']
checksums = [
    'cf7b8a255a434d2c9d385f995e84d2024fa9e6c04f847c91ecbcb3e4070c94d2',  # ncl_ncarg-6.5.0.tar.gz
    'f6dfaf95e5de9045745e122cb44f9c035f81fab92f5892991ddfe93945891c8f',  # NCL-6.4.0_fix-types.patch
]

dependencies = [
    ('Python', '2.7.15'),
    ('cURL', '7.60.0'),
    ('JasPer', '2.0.14'),
    ('g2lib', '1.4.0'),
    ('g2clib', '1.6.0'),
    ('HDF', '4.2.14'),
    ('HDF5', '1.10.2'),
    ('netCDF', '4.6.1'),
    ('netCDF-Fortran', '4.4.4'),
    ('Szip', '2.1.1'),
    ('freetype', '2.9.1'),
    ('zlib', '1.2.11'),
    ('GDAL', '2.2.3', versionsuffix),
    ('UDUNITS', '2.2.26'),
    ('ESMF', '7.1.0r'),
    ('bzip2', '1.0.6'),
    ('cairo', '1.14.12'),
    ('libiconv', '1.15'),
    ('GSL', '2.5'),
]
builddependencies = [
    ('makedepend', '1.0.5'),
    ('Bison', '3.0.5'),
    ('flex', '2.6.4'),
]

moduleclass = 'data'
