diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2020-06-11 15:39:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-15 14:53:45 +0100 |
commit | d29dd649389a80237a5c13163113f60d3c976f72 (patch) | |
tree | 60d372fdf3abb50b72303e45d448604b7a951a17 /meta/recipes-devtools | |
parent | 4a79418af009370419d846e115e3f4304638f978 (diff) | |
download | poky-d29dd649389a80237a5c13163113f60d3c976f72.tar.gz |
python3: add the rdepends for python3-misc
* Add python3-numbers to rdepends for python3-misc to fix below error:
# python3
[snip]
>>> import statistics
[snip]
ModuleNotFoundError: No module named 'numbers'
* Don't use the hardcoded python3 moudules rdepends
(From OE-Core rev: 25ceab499a22febd50926440231f84f345ced642)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.8.3.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.8.3.bb b/meta/recipes-devtools/python/python3_3.8.3.bb index 4367923b55..2e6ec7d862 100644 --- a/meta/recipes-devtools/python/python3_3.8.3.bb +++ b/meta/recipes-devtools/python/python3_3.8.3.bb | |||
@@ -331,7 +331,15 @@ INSANE_SKIP_${PN}-dev += "dev-elf" | |||
331 | 331 | ||
332 | # catch all the rest (unsorted) | 332 | # catch all the rest (unsorted) |
333 | PACKAGES += "${PN}-misc" | 333 | PACKAGES += "${PN}-misc" |
334 | RDEPENDS_${PN}-misc += "python3-core python3-email python3-codecs python3-pydoc python3-pickle python3-audio" | 334 | RDEPENDS_${PN}-misc += "\ |
335 | ${PN}-core \ | ||
336 | ${PN}-email \ | ||
337 | ${PN}-codecs \ | ||
338 | ${PN}-pydoc \ | ||
339 | ${PN}-pickle \ | ||
340 | ${PN}-audio \ | ||
341 | ${PN}-numbers \ | ||
342 | " | ||
335 | RDEPENDS_${PN}-modules_append_class-target = " ${MLPREFIX}python3-misc" | 343 | RDEPENDS_${PN}-modules_append_class-target = " ${MLPREFIX}python3-misc" |
336 | RDEPENDS_${PN}-modules_append_class-nativesdk = " ${MLPREFIX}python3-misc" | 344 | RDEPENDS_${PN}-modules_append_class-nativesdk = " ${MLPREFIX}python3-misc" |
337 | FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" | 345 | FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload" |