aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2020-06-09 15:27:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-09 13:18:04 +0100
commit932b282a51f65c99847651ea1399c38b538bf432 (patch)
tree062d42258c8a4317e86cc07dd90a0f703671622f
parent99ae6dbb7278dfd264453af852c108fa56a0d4e3 (diff)
downloadopenembedded-core-contrib-932b282a51f65c99847651ea1399c38b538bf432.tar.gz
openembedded-core-contrib-932b282a51f65c99847651ea1399c38b538bf432.tar.bz2
openembedded-core-contrib-932b282a51f65c99847651ea1399c38b538bf432.zip
python3-setuptools: add missing rdepends for python3-pkg-resources
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 <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python-setuptools.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-setuptools.inc b/meta/recipes-devtools/python/python-setuptools.inc
index c91cca9f06b..032d3374249 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -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.