diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-04-15 11:04:18 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-16 07:58:58 -0700 |
| commit | 1b7380bc0fb523f0cbc2df853846a2dcfebfb2b3 (patch) | |
| tree | 781cdf727f46cdbc975e6a4343d9ba108259b13c /meta-python/recipes-devtools/python/python3-pandas_1.5.3.bb | |
| parent | 56ac2a69a83eed0b32540b133510ec07b7b90320 (diff) | |
| download | meta-openembedded-1b7380bc0fb523f0cbc2df853846a2dcfebfb2b3.tar.gz | |
python3-pandas: Fix TMPDIR references in dbg files
These are embedded into comments in C source code generated with cython
during do_compile.
Fixes
WARNING: python3-pandas-1.5.3-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-pandas/1.5.3-r0/pandas/_libs/hashing.c in package python3-pandas-src contains reference to TMPDIR
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pandas_1.5.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas_1.5.3.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas_1.5.3.bb b/meta-python/recipes-devtools/python/python3-pandas_1.5.3.bb index aa8dfe279d..129c3147cf 100644 --- a/meta-python/recipes-devtools/python/python3-pandas_1.5.3.bb +++ b/meta-python/recipes-devtools/python/python3-pandas_1.5.3.bb | |||
| @@ -14,6 +14,16 @@ DEPENDS += " \ | |||
| 14 | ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ | 14 | ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | ||
| 18 | |||
| 19 | fix_cythonized_sources() { | ||
| 20 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do | ||
| 21 | if [ -e $f ]; then | ||
| 22 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f | ||
| 23 | fi | ||
| 24 | done | ||
| 25 | } | ||
| 26 | |||
| 17 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" | 27 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" |
| 18 | 28 | ||
| 19 | RDEPENDS:${PN} += " \ | 29 | RDEPENDS:${PN} += " \ |
