diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-09-06 12:54:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 17:30:29 +0100 |
commit | b8d2be1abf0f3b32e2ea3df4dad3298c105e1670 (patch) | |
tree | 3f8204ed43196a0dbce3c93e0053b04d3a493e12 /meta/recipes-devtools | |
parent | 004234c5b2b3f8bbd60f46255fb3dcf9bfa18221 (diff) | |
download | poky-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.bb | 7 |
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 | ||
3 | DEPENDS += "python3" | 3 | DEPENDS += "python3" |
4 | DEPENDS_class-native += "python3-native" | 4 | DEPENDS_class-native += "python3-native" |
5 | DEPENDS_class-nativesdk += "nativesdk-python3" | ||
5 | 6 | ||
6 | inherit distutils3 | 7 | inherit 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 | ||
17 | RDEPENDS_${PN} = "\ | 18 | RDEPENDS_${PN}_class-native = "\ |
18 | python3-distutils \ | 19 | python3-distutils \ |
19 | python3-compression \ | 20 | python3-compression \ |
20 | " | 21 | " |
21 | RDEPENDS_${PN}_class-target = "\ | 22 | RDEPENDS_${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 | " |
37 | BBCLASSEXTEND = "native" | 38 | BBCLASSEXTEND = "native nativesdk" |