From 6e54f45cd38ba94a259d60e53c0c76a7fb058d4d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Jul 2025 18:25:34 -0700 Subject: python3-pandas: Loosen the search path for generated file sparse.pyx.c Hardcoded path works only when target is x86_64, but fails for other architectures, loosen the search path regexp Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 b817b0538d..d32f0e17bb 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 @@ -42,7 +42,7 @@ do_compile:append() { } 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 + sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-*/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