summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-11-07 17:28:58 +0000
committerKhem Raj <raj.khem@gmail.com>2024-11-19 13:50:55 -0800
commita87950e468974eb7c1a88688e1c17fb072aed184 (patch)
tree51a74ffda9cd225a08de6318e0956645f3ae564f
parent9de108dd3478934e42c46de15d99eca0a64d667b (diff)
downloadmeta-openembedded-a87950e468974eb7c1a88688e1c17fb072aed184.tar.gz
python3-pandas: inherit cython class
Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb13
1 files changed, 1 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb
index 25b03c8e32..1e7bb1f3f6 100644
--- a/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb
@@ -13,24 +13,13 @@ SRC_URI += " \
13 13
14SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" 14SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54"
15 15
16inherit pypi python_mesonpy 16inherit pypi python_mesonpy cython
17 17
18DEPENDS += " \ 18DEPENDS += " \
19 python3-cython-native \
20 python3-numpy-native \ 19 python3-numpy-native \
21 python3-versioneer-native \ 20 python3-versioneer-native \
22" 21"
23 22
24PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
25
26fix_cythonized_sources() {
27 for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do
28 if [ -e $f ]; then
29 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
30 fi
31 done
32}
33
34CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" 23CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
35 24
36RDEPENDS:${PN} += " \ 25RDEPENDS:${PN} += " \