python3-setuptools: add missing rdepends for python3-pkg-resources
PATCH 1/1 python3-setuptools: add missing rdepends for python3-pkg-resources
From: Mingli Yu <[email protected]>
Add missing rdepends for python3-pkg-resources to fix below error:
# python3 [snip] import pkg_resources [snip] ModuleNotFoundError: No module named 'plistlib' ModuleNotFoundError: No module named 'email'
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-devtools/python/python-setuptools.inc | 6 ++++++ 1 file changed, 6 insertions(+)
meta/recipes-devtools/python/python-setuptools.inc +6 -0
@@ -48,6 +48,12 @@ BBCLASSEXTEND = "native nativesdk" # minimal distributions. PACKAGES =+ "${PYTHON_PN}-pkg-resources " FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" +RDEPENDS_${PYTHON_PN}-pkg-resources = "\ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-email \ + ${PYTHON_PN}-plistlib \ + ${PYTHON_PN}-pprint \ +" # Due to the way OE-Core implemented native recipes, the native class cannot # have a dependency on something that is not a recipe name. Work around that by # manually setting RPROVIDES.
Signature · 1 line
2.24.1