diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2023-11-17 09:51:42 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-20 09:30:39 -0800 |
| commit | 445b33e9b33ef56d517cb892b871b2272a4becf4 (patch) | |
| tree | 683679b22a6896012e9bbe0b83c26469f84110e3 | |
| parent | 5d577748ca8b24e2408bda51a464ed3d7207cc6b (diff) | |
| download | meta-openembedded-445b33e9b33ef56d517cb892b871b2272a4becf4.tar.gz | |
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>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb | 2 |
2 files changed, 2 insertions, 2 deletions
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 \ | |||
| 24 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | 24 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" |
| 25 | 25 | ||
| 26 | fix_cythonized_sources() { | 26 | fix_cythonized_sources() { |
| 27 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do | 27 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do |
| 28 | if [ -e $f ]; then | 28 | if [ -e $f ]; then |
| 29 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f | 29 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f |
| 30 | fi | 30 | 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 += " \ | |||
| 19 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | 19 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" |
| 20 | 20 | ||
| 21 | fix_cythonized_sources() { | 21 | fix_cythonized_sources() { |
| 22 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do | 22 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do |
| 23 | if [ -e $f ]; then | 23 | if [ -e $f ]; then |
| 24 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f | 24 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f |
| 25 | fi | 25 | fi |
