# IT4Innovations 2019

easyblock = 'CMakeMake'

name = 'GDL'
version = '0.9.9'

homepage = 'https://github.com/gnudatalanguage/gdl'
description = """GDL is a free/libre/open source incremental compiler compatible 
with IDL (Interactive Data Language) and to some extent with PV-WAVE. Together 
with its library routines it serves as a tool for data analysis and visualization 
in such disciplines as astronomy, geosciences and medical imaging. GDL development 
had been started by Marc Schellens back in early noughties and has since continued 
with help of a team of maintainers, developers, packagers and thanks to feedback from users."""

toolchain = {'name': 'intel', 'version': '2017c'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/gnudatalanguage/gdl/archive/']
sources = ['v%(version)s.tar.gz']

builddependencies = [
    ('CMake', '3.16.0', '-rc3', True)
]

dependencies = [
    ('libreadline', '8.0', '', True),
    ('GSL', '2.5'),
    ('ncurses', '6.1', '', True),
    ('zlib', '1.2.11', '', True),
    ('netCDF', '4.6.2'),
    ('HDF5', '1.10.5'),
    ('FFTW', '3.3.8'),
    ('PROJ_4', '4.9.2', '', True),
    ('expat', '2.2.6', '', True),
    ('numpy', '1.16.3', '-Py-2.7', True),
    ('Eigen', '3.3.7', '', True),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['include/glm/'],
}

moduleclass = 'lib'
