From: Mingli Yu <[email protected]>

Add the missing rdepends to fix the error such as below:
 # python3
 [snip]
 >>> import M2Crypto
 ModuleNotFoundError: No module named 'decimal'

Signed-off-by: Mingli Yu <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit fe77eaab8f0c3be9e1fbfeef69400f4f06748613)
Signed-off-by: Armin Kuster <[email protected]>
---
 .../recipes-devtools/python/python-m2crypto.inc    | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc 
b/meta-python/recipes-devtools/python/python-m2crypto.inc
index 881fdf1cc2..81c81645af 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto.inc
+++ b/meta-python/recipes-devtools/python/python-m2crypto.inc
@@ -17,10 +17,16 @@ PYPI_PACKAGE = "M2Crypto"
 inherit pypi siteinfo
 
 DEPENDS += "openssl swig-native"
-RDEPENDS_${PN} += "${PYTHON_PN}-typing \
-                   ${PYTHON_PN}-distutils \
-                   ${PYTHON_PN}-smtpd \
-                   ${PYTHON_PN}-xmlrpc \
+RDEPENDS_${PN} += "\
+  ${PYTHON_PN}-datetime \
+  ${PYTHON_PN}-distutils \
+  ${PYTHON_PN}-logging \
+  ${PYTHON_PN}-netclient \
+  ${PYTHON_PN}-netserver \
+  ${PYTHON_PN}-numbers \
+  ${PYTHON_PN}-smtpd \
+  ${PYTHON_PN}-typing \
+  ${PYTHON_PN}-xmlrpc \
 "
 
 DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} 
-I${STAGING_INCDIR}"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#85519): 
https://lists.openembedded.org/g/openembedded-devel/message/85519
Mute This Topic: https://lists.openembedded.org/mt/75225764/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to