]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3-setuptools: add the missing rdepends
authorMingli Yu <mingli.yu@windriver.com>
Mon, 18 May 2020 05:33:36 +0000 (13:33 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 May 2020 21:55:50 +0000 (22:55 +0100)
Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import setuptools.lib2to3_ex
 [snip]
 ModuleNotFoundError: No module named 'lib2to3'
 ModuleNotFoundError: No module named 'pickle'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-setuptools.inc

index 6726e06beff1159403ba32624983cad63eddbbd0..e9ad93dbee992b8f668dd55ed1ae4766df34b8eb 100644 (file)
@@ -18,6 +18,7 @@ SRC_URI[sha256sum] = "89c6e6011ec2f6d57d43a3f9296c4ef022c2cbf49bab26b407fe67992a
 DEPENDS += "${PYTHON_PN}"
 
 RDEPENDS_${PN} = "\
+  ${PYTHON_PN}-2to3 \
   ${PYTHON_PN}-compile \
   ${PYTHON_PN}-compression \
   ${PYTHON_PN}-ctypes \
@@ -27,6 +28,7 @@ RDEPENDS_${PN} = "\
   ${PYTHON_PN}-json \
   ${PYTHON_PN}-netserver \
   ${PYTHON_PN}-numbers \
+  ${PYTHON_PN}-pickle \
   ${PYTHON_PN}-pkgutil \
   ${PYTHON_PN}-plistlib \
   ${PYTHON_PN}-shell \