mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Following errors already fixed in 3.11.0, refer[1][2], so remove the unneeded CFLAGS: h5py/h5l.c:8163:107: error: passing argument 4 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types] h5py/h5l.c:8163:133: error: passing argument 5 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types] [1]387a22b8c1
[2]704e13ac83
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
40 lines
1.1 KiB
BlitzBasic
40 lines
1.1 KiB
BlitzBasic
SUMMARY = "Provides both a high- and low-level interface to the HDF5 library from Python."
|
|
HOMEPAGE = "https://www.h5py.org/"
|
|
SECTION = "devel/python"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c"
|
|
|
|
SRC_URI[sha256sum] = "7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9"
|
|
|
|
SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch"
|
|
|
|
inherit pkgconfig pypi setuptools3
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
DEPENDS = "python3-pkgconfig-native \
|
|
python3-cython-native \
|
|
python3-numpy-native \
|
|
python3-six-native \
|
|
hdf5-native \
|
|
python3 \
|
|
hdf5 \
|
|
"
|
|
|
|
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
|
|
|
fix_cythonized_sources() {
|
|
for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do
|
|
if [ -e $f ]; then
|
|
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
|
fi
|
|
done
|
|
}
|
|
|
|
RDEPENDS:${PN} = "python3-numpy \
|
|
python3-six \
|
|
python3-json \
|
|
"
|
|
|
|
export HDF5_VERSION="1.14.0"
|