summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorAlper Ak <alperyasinak1@gmail.com>2025-06-23 23:54:34 +0300
committerKhem Raj <raj.khem@gmail.com>2025-06-26 07:26:20 -0700
commit389a2e48a8ea8a83f4a19316c9fc212b3613f81d (patch)
tree11c888925b1f3e1159746157bbac61ae576e2bc5 /meta-python/recipes-devtools/python
parent5e04477eff55a8c02dd3cd7f604697ef1490f720 (diff)
downloadmeta-openembedded-389a2e48a8ea8a83f4a19316c9fc212b3613f81d.tar.gz
python3-pandas: Fix contains reference to TMPDIR [buildpaths] error
Ensures TMPDIR is removed before packaging. ERROR: python3-pandas-2.2.3-r0 do_package_qa: QA Issue: File /usr/src/debug/python3-pandas/2.2.3/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c in package python3-pandas-src contains reference to TMPDIR [buildpaths] Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb
index c7e3ec8fec..b817b0538d 100644
--- a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb
@@ -41,4 +41,8 @@ do_compile:append() {
41 sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g' 41 sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g'
42} 42}
43 43
44do_install:prepend() {
45 sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c
46}
47
44EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include " 48EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "