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-11 13:39:14 -0800
commitfe7bc75fda2c0abfd7c3735a3f5d7f56ba3d6207 (patch)
tree238b19d9213d6665153b1d4ff714a96c1f6777c5
parent2c77a1919947f4d8693d3b7c9aaf07e0c0e6ee10 (diff)
downloadmeta-openembedded-contrib-fe7bc75fda2c0abfd7c3735a3f5d7f56ba3d6207.tar.gz
meta-openembedded-contrib-fe7bc75fda2c0abfd7c3735a3f5d7f56ba3d6207.tar.bz2
meta-openembedded-contrib-fe7bc75fda2c0abfd7c3735a3f5d7f56ba3d6207.zip
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