aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kelly <mkelly@xevo.com>2018-02-08 12:15:53 -0800
committerArmin Kuster <akuster808@gmail.com>2018-02-23 20:25:17 -0800
commit6dac7ec530281521e9047d3bf0b202a876f42b55 (patch)
tree41cdd8a54d63d9e656e24706a91fdbe0e389aaee
parentd2b1bdeabcdc9961a2f4f5ce92358b8aee710830 (diff)
downloadmeta-openembedded-6dac7ec530281521e9047d3bf0b202a876f42b55.tar.gz
python-cython: add nativesdk support
Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python-cython.inc12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-cython.inc b/meta-python/recipes-devtools/python/python-cython.inc
index ddaed1d160..dee647ef1a 100644
--- a/meta-python/recipes-devtools/python/python-cython.inc
+++ b/meta-python/recipes-devtools/python/python-cython.inc
@@ -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