easyconfigs-it4i/g/GDAL/GDAL-2.1.3-intel-2017a-Python-2.7.13.eb
easybuild 40b461ca6f fix
2019-11-06 13:38:09 +01:00

49 lines
1.9 KiB
Plaintext

easyblock = 'ConfigureMake'
name = 'GDAL'
version = '2.1.3'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://www.gdal.org/'
description = """GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style
Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model
to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for
data translation and processing."""
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'usempi': True}
source_urls = ['http://download.osgeo.org/gdal/%(version)s/']
sources = [SOURCELOWER_TAR_XZ]
patches = ['GDAL-%(version)s_fix-uchar-definition.patch']
dependencies = [
('Python', '2.7.13', '', True),
('netCDF', '4.4.1.1'),
('expat', '2.2.0', '', True),
('GEOS', '3.6.1', versionsuffix, True),
('SQLite', '3.17.0', '', True),
('libxml2', '2.9.4', '', True),
('libpng', '1.6.29', '', True),
('libjpeg-turbo', '1.5.1', '', True),
('JasPer', '2.0.12'),
('LibTIFF', '4.0.7', '', True),
('zlib', '1.2.11', '', True),
('cURL', '7.53.1', '', True),
('PCRE', '8.40', '', True),
]
configopts = '--with-expat=$EBROOTEXPAT --with-libz=$EBROOTLIBZ --with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF'
configopts += ' --with-xml2=$EBROOTLIBXML2 --with-geos=$EBROOTGEOS/bin/geos-config --with-jpeg=$EBROOTLIBJPEGMINTURBO'
configopts += ' --with-png=$EBROOTLIBPNG --with-sqlite3=$EBROOTSQLITE --with-jasper=$EBROOTJASPER'
configopts += ' --with-libtiff=$EBROOTLIBTIFF --with-pcre=$EBROOTPCRE --with-python=$EBROOTPYTHON/bin/python'
modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
sanity_check_paths = {
'files': ['lib/libgdal.a', 'lib/libgdal.%s' % SHLIB_EXT],
'dirs': ['bin', 'include', 'lib/python%(pyshortver)s/site-packages']
}
moduleclass = 'data'