mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-18 18:41:55 +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:
parent
5d577748ca
commit
445b33e9b3
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user