From 389a2e48a8ea8a83f4a19316c9fc212b3613f81d Mon Sep 17 00:00:00 2001 From: Alper Ak Date: Mon, 23 Jun 2025 23:54:34 +0300 Subject: 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 Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb') 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() { sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g' } +do_install:prepend() { + sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c +} + EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include " -- cgit v1.2.3-54-g00ecf