summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-h5py_3.8.0.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.8.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.8.0.bb
index 75a41e29dc..3436444695 100644
--- a/meta-python/recipes-devtools/python/python3-h5py_3.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-h5py_3.8.0.bb
@@ -21,6 +21,16 @@ DEPENDS = "python3-pkgconfig-native \
21 hdf5 \ 21 hdf5 \
22 " 22 "
23 23
24PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
25
26fix_cythonized_sources() {
27 for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do
28 if [ -e $f ]; then
29 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
30 fi
31 done
32}
33
24RDEPENDS:${PN} = "python3-numpy \ 34RDEPENDS:${PN} = "python3-numpy \
25 python3-six \ 35 python3-six \
26 python3-json \ 36 python3-json \