mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
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>
This commit is contained in:
@@ -13,24 +13,13 @@ SRC_URI += " \
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54"
|
SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54"
|
||||||
|
|
||||||
inherit pypi python_mesonpy
|
inherit pypi python_mesonpy cython
|
||||||
|
|
||||||
DEPENDS += " \
|
DEPENDS += " \
|
||||||
python3-cython-native \
|
|
||||||
python3-numpy-native \
|
python3-numpy-native \
|
||||||
python3-versioneer-native \
|
python3-versioneer-native \
|
||||||
"
|
"
|
||||||
|
|
||||||
PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
|
|
||||||
|
|
||||||
fix_cythonized_sources() {
|
|
||||||
for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do
|
|
||||||
if [ -e $f ]; then
|
|
||||||
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
|
CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
|
||||||
|
|
||||||
RDEPENDS:${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
|
|||||||
Reference in New Issue
Block a user