PCRaster-4.3.3-foss-2021b.eb 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. easyblock = 'CMakeMake'
  2. name = 'PCRaster'
  3. version = '4.3.3'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = "https://pcraster.geo.uu.nl"
  6. description = """PCRaster is a collection of software targeted at the
  7. development and deployment of spatio-temporal environmental models."""
  8. toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
  9. sources = ['%(namelower)s-%(version)s.tar.bz2']
  10. source_urls = ['http://pcraster.geo.uu.nl/pcraster/packages/src/']
  11. builddependencies = [
  12. ('CMake', '3.21.1'),
  13. ]
  14. dependencies = [
  15. ('Python', '3.9.6'),
  16. ('Qt5', '5.15.5'),
  17. ('Boost', '1.79.0', '', ('GCC', '11.2.0')),
  18. ('GDAL', '3.3.2', '', ('foss', '2021b')),
  19. ('Xerces-C++', '3.2.3'),
  20. ('ncurses', '6.2')
  21. ]
  22. configopts = " -D Python3_EXECUTABLE=$EBROOTPYTHON/bin/python -D PYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python -D PCRASTER_WITH_FLAGS_IPO=ON "
  23. sanity_check_paths = {
  24. 'files': ['bin/%s' % x for x in ['aguila', 'asc2map', 'col2map', 'legend', 'map2asc', 'map2col',
  25. 'mapattr', 'oldcalc', 'pcrcalc', 'mf2005', 'resample', 'table']],
  26. 'dirs': ['python/pcraster'],
  27. }
  28. modextrapaths = {'PYTHONPATH': ['python']}
  29. moduleclass = 'geo'