summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-02-08 12:25:28 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-04 11:11:57 +0000
commit3ab95c3018d8887b0feb1ff613a73dfaa7f29f21 (patch)
tree1bbc66b13c5789dc55f69c9ce2023147ce023b40
parent0a9c1319d012ed1c50208c5f22e44714f73991b4 (diff)
downloadpoky-3ab95c3018d8887b0feb1ff613a73dfaa7f29f21.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: 8ca8210475610a214cebf1367918f7794ef05d05) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-setuptools_32.1.1.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb b/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
index 65af6f0dad..63f241809e 100644
--- a/meta/recipes-devtools/python/python3-setuptools_32.1.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_32.1.1.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"