Skip to contentSkip to conversation

python-cython: fill in missing rdepends

PATCH New Martin Kelly 1 participant 3 messages Feb 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python-cython: fill in missing rdepends

There are a few runtime dependencies not listed, so add them.

---
 meta-python/recipes-devtools/python/python-cython.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python-cython.inc +5 -0
index 6e424a90c..ddaed1d16 100644
@@ -13,8 +13,13 @@ SRC_URI[sha256sum] = "6a00512de1f2e3ce66ba35c5420babaef1fe2d9c43a8faab4080b0dbcc
 inherit pypi
 
 RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-misc \
     ${PYTHON_PN}-netserver \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-pyparsing \
+    ${PYTHON_PN}-setuptools \
     ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-xml \
 "
 
 do_install_append() {
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/3 python-pyparsing: add nativesdk support

---
 meta-python/recipes-devtools/python/python-pyparsing.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-pyparsing.inc +1 -1
index 19f6d55f9..e30839f87 100644
@@ -18,4 +18,4 @@ RDEPENDS_${PN} += " \
     ${PYTHON_PN}-threading \
 "
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.11.0
#2 lore raw

PATCH 3/3 python-cython: add nativesdk support

In reply to Martin Kelly
---
 meta-python/recipes-devtools/python/python-cython.inc | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-cython.inc +11 -1
index ddaed1d16..dee647ef1 100644
@@ -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
Signature · 1 line
2.11.0