summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-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} += " \