GDAL-2.2.0-intel-2018-Python-3.6.1.eb 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. easyblock = 'ConfigureMake'
  2. name = 'GDAL'
  3. version = '2.2.0'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'http://www.gdal.org/'
  6. description = """GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style
  7. Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model
  8. to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for
  9. data translation and processing."""
  10. toolchain = {'name': 'intel', 'version': '2018'}
  11. toolchainopts = {'usempi': True}
  12. source_urls = ['http://download.osgeo.org/gdal/%(version)s/']
  13. sources = [SOURCELOWER_TAR_XZ]
  14. patches = ['GDAL-%(version)s_fix-uchar-definition.patch']
  15. dependencies = [
  16. ('Python', '3.6.1'),
  17. ('netCDF', '4.4.1.1'),
  18. ('expat', '2.2.4'),
  19. ('GEOS', '3.6.1', versionsuffix),
  20. ('SQLite', '3.20.1'),
  21. ('libxml2', '2.9.4', versionsuffix),
  22. ('libpng', '1.6.32'),
  23. ('libjpeg-turbo', '1.5.1'),
  24. ('JasPer', '1.900.1'),
  25. ('LibTIFF', '4.0.7'),
  26. ('zlib', '1.2.11'),
  27. ('cURL', '7.55.1'),
  28. ('PCRE', '8.40'),
  29. ]
  30. configopts = '--with-expat=$EBROOTEXPAT --with-libz=$EBROOTLIBZ --with-hdf5=$EBROOTHDF5 --with-netcdf=$EBROOTNETCDF'
  31. configopts += ' --with-xml2=$EBROOTLIBXML2 --with-geos=$EBROOTGEOS/bin/geos-config --with-jpeg=$EBROOTLIBJPEGMINTURBO'
  32. configopts += ' --with-png=$EBROOTLIBPNG --with-sqlite3=$EBROOTSQLITE --with-jasper=$EBROOTJASPER'
  33. configopts += ' --with-libtiff=$EBROOTLIBTIFF --with-pcre=$EBROOTPCRE --with-python=$EBROOTPYTHON/bin/python'
  34. modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
  35. sanity_check_paths = {
  36. 'files': ['lib/libgdal.a', 'lib/libgdal.%s' % SHLIB_EXT],
  37. 'dirs': ['bin', 'include', 'lib/python%(pyshortver)s/site-packages']
  38. }
  39. moduleclass = 'data'