diff --git a/easybuild/easyconfigs/n/netcdf4-python/netcdf4-python-1.7.2-foss-2025a.eb b/easybuild/easyconfigs/n/netcdf4-python/netcdf4-python-1.7.2-foss-2025a.eb new file mode 100644 index 000000000000..cc29eb5cf523 --- /dev/null +++ b/easybuild/easyconfigs/n/netcdf4-python/netcdf4-python-1.7.2-foss-2025a.eb @@ -0,0 +1,48 @@ +easyblock = 'PythonBundle' + +name = 'netcdf4-python' +version = '1.7.2' + +homepage = 'https://unidata.github.io/netcdf4-python/' +description = "Python/numpy interface to netCDF." + +toolchain = {'name': 'foss', 'version': '2025a'} +toolchainopts = {'usempi': True} + +builddependencies = [ + ('Cython', '3.1.1'), +] + +dependencies = [ + ('Python', '3.13.1'), + ('SciPy-bundle', '2025.06'), + ('netCDF', '4.9.3'), + ('cURL', '8.11.1'), + ('mpi4py', '4.1.0'), +] + +fix_python_shebang_for = ['bin/*'] + +exts_list = [ + ('cftime', '1.6.4.post1', { + 'checksums': ['50ac76cc9f10ab7bd46e44a71c51a6927051b499b4407df4f29ab13d741b942f'], + }), + (name, version, { + 'source_tmpl': 'netcdf4-%(version)s.tar.gz', + 'source_urls': ['https://pypi.python.org/packages/source/n/netCDF4'], + 'checksums': ['a4c6375540b19989896136943abb6d44850ff6f1fa7d3f063253b1ad3f8b7fce'], + }), +] + +sanity_check_paths = { + 'files': ['bin/nc3tonc4', 'bin/nc4tonc3', 'bin/ncinfo'], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +sanity_check_commands = [ + "nc4tonc3 --help", + "nc3tonc4 --help", + "ncinfo --help", +] + +moduleclass = 'data'