summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2017-09-06 12:54:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:29 +0100
commitb8d2be1abf0f3b32e2ea3df4dad3298c105e1670 (patch)
tree3f8204ed43196a0dbce3c93e0053b04d3a493e12 /meta/recipes-devtools
parent004234c5b2b3f8bbd60f46255fb3dcf9bfa18221 (diff)
downloadpoky-b8d2be1abf0f3b32e2ea3df4dad3298c105e1670.tar.gz
python3-setuptools: extend to nativesdk
Extend python3-setuptools to nativesdk because nativesdk-python3-pip needs it. Also, adjust RDEPENDS variable setting to keep the runtime dependencies for nativesdk package the same with the target one. The native package and the target package's dependencies remain the same as before. (From OE-Core rev: b9f0c54fd8b4f5f157e5f088bb304ddab0387ae6) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_36.2.7.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_36.2.7.bb b/meta/recipes-devtools/python/python3-setuptools_36.2.7.bb
index 65af6f0dad..63f241809e 100644
--- a/meta/recipes-devtools/python/python3-setuptools_36.2.7.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_36.2.7.bb
@@ -2,6 +2,7 @@ require python-setuptools.inc
2 2
3DEPENDS += "python3" 3DEPENDS += "python3"
4DEPENDS_class-native += "python3-native" 4DEPENDS_class-native += "python3-native"
5DEPENDS_class-nativesdk += "nativesdk-python3"
5 6
6inherit distutils3 7inherit distutils3
7 8
@@ -14,11 +15,11 @@ do_install_append() {
14 echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth 15 echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
15} 16}
16 17
17RDEPENDS_${PN} = "\ 18RDEPENDS_${PN}_class-native = "\
18 python3-distutils \ 19 python3-distutils \
19 python3-compression \ 20 python3-compression \
20" 21"
21RDEPENDS_${PN}_class-target = "\ 22RDEPENDS_${PN} = "\
22 python3-ctypes \ 23 python3-ctypes \
23 python3-distutils \ 24 python3-distutils \
24 python3-email \ 25 python3-email \
@@ -34,4 +35,4 @@ RDEPENDS_${PN}_class-target = "\
34 python3-unittest \ 35 python3-unittest \
35 python3-xml \ 36 python3-xml \
36" 37"
37BBCLASSEXTEND = "native" 38BBCLASSEXTEND = "native nativesdk"