Message ID | 20231117085143.3813216-7-martin.jansa@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe,1/8] android-tools: drop ${PE}, ${PR} from /usr/src/debug paths | expand |
diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb index 400233e64a..e772106857 100644 --- a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb @@ -24,7 +24,7 @@ DEPENDS = "python3-pkgconfig-native \ PACKAGESPLITFUNCS =+ "fix_cythonized_sources" fix_cythonized_sources() { - for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do + 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 diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb index 87a173c8a2..5e69fea6c1 100644 --- a/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb @@ -19,7 +19,7 @@ DEPENDS += " \ PACKAGESPLITFUNCS =+ "fix_cythonized_sources" fix_cythonized_sources() { - for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do + 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
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> --- meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb | 2 +- meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)