diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-11-07 17:28:58 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-11-19 13:50:55 -0800 |
| commit | a87950e468974eb7c1a88688e1c17fb072aed184 (patch) | |
| tree | 51a74ffda9cd225a08de6318e0956645f3ae564f | |
| parent | 9de108dd3478934e42c46de15d99eca0a64d667b (diff) | |
| download | meta-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.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} += " \ |
