]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-setuptools: extend to nativesdk ChenQi/python-fixes
authorChen Qi <Qi.Chen@windriver.com>
Wed, 27 Jul 2016 02:21:44 +0000 (10:21 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Wed, 27 Jul 2016 05:31:18 +0000 (13:31 +0800)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-devtools/python/python3-setuptools_22.0.5.bb

index fb2931c3f2b6b200c8ea491e0ecd786e7772330b..90c242dd81073951a87baa1205eb1272f00d650e 100644 (file)
@@ -2,6 +2,7 @@ require python-setuptools.inc
 
 DEPENDS += "python3"
 DEPENDS_class-native += "python3-native"
+DEPENDS_class-nativesdk += "python3-nativesdk"
 
 inherit distutils3
 
@@ -14,11 +15,11 @@ do_install_append() {
     echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
 }
 
-RDEPENDS_${PN} = "\
+RDEPENDS_${PN}_class-native = "\
   python3-distutils \
   python3-compression \
 "
-RDEPENDS_${PN}_class-target = "\
+RDEPENDS_${PN} = "\
   python3-ctypes \
   python3-distutils \
   python3-email \
@@ -34,4 +35,4 @@ RDEPENDS_${PN}_class-target = "\
   python3-unittest \
   python3-xml \
 "
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"