python-cython: add nativesdk support

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Martin Kelly 2018-02-08 12:15:53 -08:00 committed by Armin Kuster
parent d2b1bdeabc
commit 6dac7ec530

View File

@ -5,7 +5,7 @@ SECTION = "devel/python"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
PYPI_PACKAGE = "Cython"
BBCLASSEXTEND = "native"
BBCLASSEXTEND = "native nativesdk"
SRC_URI[md5sum] = "6149238287d662bd5d5e572482252493"
SRC_URI[sha256sum] = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc26bc64"
@ -22,6 +22,16 @@ RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-xml \
"
RDEPENDS_${PN}_class-nativesdk += "\
nativesdk-${PYTHON_PN}-misc \
nativesdk-${PYTHON_PN}-netserver \
nativesdk-${PYTHON_PN}-pkgutil \
nativesdk-${PYTHON_PN}-pyparsing \
nativesdk-${PYTHON_PN}-setuptools \
nativesdk-${PYTHON_PN}-shell \
nativesdk-${PYTHON_PN}-xml \
"
do_install_append() {
# Make sure we use /usr/bin/env python
for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do