diff --git a/easybuild/easyconfigs/h/h5py/h5py-3.12.1-foss-2024a.eb b/easybuild/easyconfigs/h/h5py/h5py-3.12.1-foss-2024a.eb new file mode 100644 index 000000000000..c72bb2fc639c --- /dev/null +++ b/easybuild/easyconfigs/h/h5py/h5py-3.12.1-foss-2024a.eb @@ -0,0 +1,37 @@ +easyblock = 'PythonPackage' + +name = 'h5py' +version = '3.12.1' + +homepage = 'https://www.h5py.org/' +description = """HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library, + version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous + amounts of data.""" + +toolchain = {'name': 'foss', 'version': '2024a'} +toolchainopts = {'usempi': True} + +sources = [SOURCE_TAR_GZ] +checksums = ['326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf'] + +builddependencies = [ + ('pkgconfig', '1.5.5', '-python'), + ('Cython', '3.0.10'), +] +dependencies = [ + ('Python', '3.12.3'), + ('SciPy-bundle', '2024.05'), + ('mpi4py', '4.0.1'), + ('HDF5', '1.14.5'), +] + +# h5py's setup.py will disable setup_requires if H5PY_SETUP_REQUIRES is set to 0 +# without this environment variable, pip will fetch the minimum numpy version h5py supports during install, +# even though SciPy-bundle provides a newer version that satisfies h5py's install_requires dependency. +preinstallopts = 'HDF5_MPI=ON HDF5_DIR="$EBROOTHDF5" H5PY_SETUP_REQUIRES=0 ' + +download_dep_fail = True +sanity_pip_check = True +use_pip = True + +moduleclass = 'data'