diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb | 13 |
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 | ||
14 | SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" | 14 | SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" |
15 | 15 | ||
16 | inherit pypi python_mesonpy | 16 | inherit pypi python_mesonpy cython |
17 | 17 | ||
18 | DEPENDS += " \ | 18 | DEPENDS += " \ |
19 | python3-cython-native \ | ||
20 | python3-numpy-native \ | 19 | python3-numpy-native \ |
21 | python3-versioneer-native \ | 20 | python3-versioneer-native \ |
22 | " | 21 | " |
23 | 22 | ||
24 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | ||
25 | |||
26 | fix_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 | |||
34 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" | 23 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" |
35 | 24 | ||
36 | RDEPENDS:${PN} += " \ | 25 | RDEPENDS:${PN} += " \ |