From: Mingli Yu Date: Thu, 11 Jun 2020 07:39:28 +0000 (+0800) Subject: python3: add the rdepends for python3-misc X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~10785 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25ceab499a22febd50926440231f84f345ced642;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Mingli Yu Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3_3.8.3.bb b/meta/recipes-devtools/python/python3_3.8.3.bb index 4367923b55f..2e6ec7d8628 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" # catch all the rest (unsorted) PACKAGES += "${PN}-misc" -RDEPENDS_${PN}-misc += "python3-core python3-email python3-codecs python3-pydoc python3-pickle python3-audio" +RDEPENDS_${PN}-misc += "\ + ${PN}-core \ + ${PN}-email \ + ${PN}-codecs \ + ${PN}-pydoc \ + ${PN}-pickle \ + ${PN}-audio \ + ${PN}-numbers \ +" RDEPENDS_${PN}-modules_append_class-target = " ${MLPREFIX}python3-misc" RDEPENDS_${PN}-modules_append_class-nativesdk = " ${MLPREFIX}python3-misc" FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"