gdal : 'native'
gmsh : '4.10.3'
graphviz : 'native'
+ h5py : '3.9.0'
hdf5 : '1.10.3'
idna : 'native'
imagesize : 'native'
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.Sphinx' : {tag: '1.7.6', base: 'no', section: 'version_1_7_6_no_pip' }
'APPLICATION.products.gdal' : {tag:'2.4.0', base: 'no', section: 'version_2_4_0_FD32' } # spns #29324
+ 'APPLICATION.products.h5py' : {tag:'3.9.0', base: 'no', section: 'version_3_9_0_FD32' }
}
{
__condition__ : "VARS.dist in ['FD34']"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "h5py" $VERSION
+echo "##########################################################################"
+
+rm -rf $BUILD_DIR
+cp -r $SOURCE_DIR $BUILD_DIR
+
+mkdir -p ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
+mkdir -p $PRODUCT_INSTALL
+echo
+
+cd $BUILD_DIR
+
+echo "*** setup.py BUILD"
+python setup.py build
+
+echo "*** setup.py INSTALL"
+python setup.py install --prefix=${PRODUCT_INSTALL} --install-lib ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
+if [ $? -ne 0 ]; then
+ echo "ERROR on setup"
+ exit 3
+fi
+
+echo
+echo "########## END"
+
pip : "no"
}
}
+
+version_3_9_0:
+{
+ compil_script: "h5py-3.9.0" + $VARS.scriptExtension
+}
+
+version_3_9_0_FD32:
+{
+ compil_script: "h5py-3.9.0" + $VARS.scriptExtension
+ patches : ['h5py-3.9.0.p01.patch']
+}
--- /dev/null
+--- h5py-3.9.0_ref/h5py/_errors.pyx 2023-04-26 17:08:31.000000000 +0200
++++ h5py-3.9.0_dev/h5py/_errors.pyx 2024-05-05 14:40:30.886340118 +0200
+@@ -94,7 +94,7 @@
+ H5E_error_t err
+ int n
+
+-cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil noexcept:
++cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil:
+
+ cdef err_data_t *ee = <err_data_t*>e
+