summaryrefslogtreecommitdiffstats
path: root/meta-python
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 /meta-python
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>
Diffstat (limited to 'meta-python')
-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 ddaed1d16..dee647ef1 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"
5LICENSE = "Apache-2.0" 5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
7PYPI_PACKAGE = "Cython" 7PYPI_PACKAGE = "Cython"
8BBCLASSEXTEND = "native" 8BBCLASSEXTEND = "native nativesdk"
9 9
10SRC_URI[md5sum] = "6149238287d662bd5d5e572482252493" 10SRC_URI[md5sum] = "6149238287d662bd5d5e572482252493"
11SRC_URI[sha256sum] = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc26bc64" 11SRC_URI[sha256sum] = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc26bc64"
@@ -22,6 +22,16 @@ RDEPENDS_${PN}_class-target += "\
22 ${PYTHON_PN}-xml \ 22 ${PYTHON_PN}-xml \
23" 23"
24 24
25RDEPENDS_${PN}_class-nativesdk += "\
26 nativesdk-${PYTHON_PN}-misc \
27 nativesdk-${PYTHON_PN}-netserver \
28 nativesdk-${PYTHON_PN}-pkgutil \
29 nativesdk-${PYTHON_PN}-pyparsing \
30 nativesdk-${PYTHON_PN}-setuptools \
31 nativesdk-${PYTHON_PN}-shell \
32 nativesdk-${PYTHON_PN}-xml \
33"
34
25do_install_append() { 35do_install_append() {
26 # Make sure we use /usr/bin/env python 36 # Make sure we use /usr/bin/env python
27 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do 37 for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do