easyblock = 'PythonBundle'

name = 'h5netcdf'
version = '1.7.3'

homepage = 'https://h5netcdf.org/'
description = """A Python interface for the netCDF4 file-format that reads and writes local or
remote HDF5 files directly via h5py or h5pyd, without relying on the Unidata
netCDF library."""

toolchain = {'name': 'foss', 'version': '2025b'}

dependencies = [
    ('Python', '3.13.5'),
    ('h5py', '3.14.0'),
]

exts_list = [
    (name, version, {
        'preinstallopts': """sed -i 's/^dynamic = .*/version = "%(version)s"/g' pyproject.toml && """,
        'checksums': ['f62a0e77d1e2a6cd8b9d8120d5b62b6a015dc7c6185768a01e983c77c0b794e3'],
    }),
]

moduleclass = 'data'
