mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 16:40:03 +00:00
python3-{h5py,pandas}: drop ${PE}, ${PR} from /usr/src/debug paths
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ DEPENDS = "python3-pkgconfig-native \
|
|||||||
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
||||||
|
|
||||||
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
|
if [ -e $f ]; then
|
||||||
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ DEPENDS += " \
|
|||||||
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
||||||
|
|
||||||
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
|
if [ -e $f ]; then
|
||||||
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user