Files
poky/meta/recipes-devtools/python/python3-cython_0.29.14.bb
Alexander Kanavin 1407d1460c python3-cython: add from meta-oe
This is needed by new python3-numpy.

(From OE-Core rev: 5b62f1c313d8b9a74f49ef30e7fa5ff489ae3e84)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00

19 lines
549 B
BlitzBasic

inherit setuptools3
require python-cython.inc
RDEPENDS_${PN} += "\
python3-setuptools \
"
# running build_ext a second time during install fails, because Python
# would then attempt to import cythonized modules built for the target
# architecture.
DISTUTILS_INSTALL_ARGS += "--skip-build"
do_install_append() {
# rename scripts that would conflict with the Python 2 build of Cython
mv ${D}${bindir}/cython ${D}${bindir}/cython3
mv ${D}${bindir}/cythonize ${D}${bindir}/cythonize3
mv ${D}${bindir}/cygdb ${D}${bindir}/cygdb3
}