NCO-5.0.1-foss-2021b.eb 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. easyblock = 'ConfigureMake'
  2. name = 'NCO'
  3. version = '5.0.1'
  4. homepage = "https://github.com/nco/nco"
  5. description = """The NCO toolkit manipulates and analyzes data stored in netCDF-accessible formats,
  6. including DAP, HDF4, and HDF5."""
  7. toolchain = {'name': 'foss', 'version': '2021b'}
  8. source_urls = ['https://github.com/nco/nco/archive/']
  9. sources = ['%(version)s.tar.gz']
  10. patches = ['NCO-%(version)s_fix_build_of_cxx_interface.patch']
  11. checksums = [
  12. '37d11ffe582aa0ee89f77a7b9a176b41e41900e9ab709e780ec0caf52ad60c4b', # 5.0.1.tar.gz
  13. 'ea1bdaafd7b8bf8b84569634373868f2d8463d65bd9ec6f56143f4f7362f5c99', # NCO-5.0.1_fix_build_of_cxx_interface.patch
  14. ]
  15. builddependencies = [
  16. ('Bison', '3.7.6'),
  17. ('flex', '2.6.4'),
  18. ]
  19. dependencies = [
  20. ('UDUNITS', '2.2.28'),
  21. ('expat', '2.4.1'),
  22. ('ANTLR', '2.7.7', '-Java-11'),
  23. ('libdap', '3.20.7'),
  24. ('GSL', '2.7'),
  25. ('netCDF', '4.8.0'),
  26. ('ESMF', '8.1.1'), # ncremap needs ESMF_RegridWeightGen
  27. ]
  28. sanity_check_paths = {
  29. 'files': ['bin/nc%s' % x for x in ('ap2', 'atted', 'bo', 'diff', 'ea', 'ecat', 'es',
  30. 'flint', 'ks', 'pdq', 'ra', 'rcat', 'rename', 'wa')] +
  31. ['lib/libnco.a', 'lib/libnco.%s' % SHLIB_EXT, 'lib/libnco_c++.a', 'lib/libnco_c++.%s' % SHLIB_EXT],
  32. 'dirs': ['include'],
  33. }
  34. moduleclass = 'tools'