summaryrefslogtreecommitdiffstats
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-12 08:25:04 +0100
commit8a925ec0696e27679b0187eb3147823fb8f1e71b (patch)
tree431819a273bbd8dcd80a5420b216b6f38adc88b1
parent0273ac2a818c161870f5c24c6bab814c40bedba2 (diff)
downloadpoky-8a925ec0696e27679b0187eb3147823fb8f1e71b.tar.gz
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' (From OE-Core rev: 932b282a51f65c99847651ea1399c38b538bf432) 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 c91cca9f06..032d337424 100644
--- a/meta/recipes-devtools/python/python-setuptools.inc
+++ b/meta/recipes-devtools/python/python-setuptools.inc
@@ -48,6 +48,12 @@ BBCLASSEXTEND = "native nativesdk"
48# minimal distributions. 48# minimal distributions.
49PACKAGES =+ "${PYTHON_PN}-pkg-resources " 49PACKAGES =+ "${PYTHON_PN}-pkg-resources "
50FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*" 50FILES_${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
51RDEPENDS_${PYTHON_PN}-pkg-resources = "\
52 ${PYTHON_PN}-compression \
53 ${PYTHON_PN}-email \
54 ${PYTHON_PN}-plistlib \
55 ${PYTHON_PN}-pprint \
56"
51# Due to the way OE-Core implemented native recipes, the native class cannot 57# Due to the way OE-Core implemented native recipes, the native class cannot
52# have a dependency on something that is not a recipe name. Work around that by 58# have a dependency on something that is not a recipe name. Work around that by
53# manually setting RPROVIDES. 59# manually setting RPROVIDES.