basemap-2.0.0-foss-2025b.eb 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # The newer version require also the installation of basemap-data.
  2. # Conveniently, the tarball contains that too, so that is the one
  3. # being used here.
  4. # Based on basemap-1.2.2-foss-2020a-Python-3.8.2.eb
  5. # Author: J. Sassmannshausen (Imperial College London/UK)
  6. easyblock = 'PythonBundle'
  7. name = 'basemap'
  8. version = '2.0.0'
  9. homepage = 'https://matplotlib.org/basemap/'
  10. description = """The matplotlib basemap toolkit is a library for plotting
  11. 2D data on maps in Python"""
  12. toolchain = {'name': 'foss', 'version': '2025b'}
  13. builddependencies = [
  14. ('Cython', '3.1.2'),
  15. ]
  16. dependencies = [
  17. ('Python', '3.13.5'),
  18. ('matplotlib', '3.10.5'),
  19. ('GEOS', '3.13.1'),
  20. ('Pillow', '11.3.0'),
  21. ('pyproj', '3.7.1'),
  22. ]
  23. exts_list = [
  24. ('pyshp', '2.3.1', {
  25. 'modulename': 'shapefile',
  26. 'checksums': ['4caec82fd8dd096feba8217858068bacb2a3b5950f43c048c6dc32a3489d5af1'],
  27. }),
  28. ('basemap_data', version, {
  29. 'modulename': 'mpl_toolkits.basemap_data',
  30. 'preinstallopts': "cd data/%(name)s && GEOS_DIR=$EBROOTGEOS",
  31. 'source_urls': ['https://github.com/matplotlib/basemap/archive/'],
  32. 'sources': ['v%(version)s.tar.gz'],
  33. 'checksums': ['192ee1c63291d7d1af98fab798c45239ea27e6ca31041afa8c42c8b697e44596'],
  34. }),
  35. (name, version, {
  36. 'modulename': 'mpl_toolkits.basemap',
  37. 'preinstallopts': "GEOS_DIR=$EBROOTGEOS",
  38. 'source_urls': ['https://github.com/matplotlib/basemap/archive/'],
  39. 'sources': ['v%(version)s.tar.gz'],
  40. 'checksums': ['192ee1c63291d7d1af98fab798c45239ea27e6ca31041afa8c42c8b697e44596'],
  41. }),
  42. ]
  43. moduleclass = 'vis'