[oe] [meta-python][PATCH 2/2] python3-pillow: Add python3-misc/logging/numbers to RDEPENDS

Ovidiu Panait ovidiu.panait at windriver.com
Mon Jul 15 07:38:44 UTC 2019


Fix the following issues:
$ python3 -c 'from PIL import Image'
ModuleNotFoundError: No module named 'pathlib'
...
ModuleNotFoundError: No module named 'logging'
...
ModuleNotFoundError: No module named 'numbers'

Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
---
 meta-python/recipes-devtools/python/python3-pillow_6.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-pillow_6.1.bb b/meta-python/recipes-devtools/python/python3-pillow_6.1.bb
index 13e6b4143..b74326755 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_6.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_6.1.bb
@@ -23,6 +23,12 @@ DEPENDS += " \
     openjpeg \
 "
 
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-misc \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-numbers \
+"
+
 CVE_PRODUCT = "pillow"
 
 S = "${WORKDIR}/git"
-- 
2.20.1



More information about the Openembedded-devel mailing list