Skip to contentSkip to conversation

python3-m2crypto: add the missing rdepends

PATCH In review Yu, Mingli 2 participants 2 messages Jun 12, 2020

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH 1/1 python3-m2crypto: add the missing rdepends

From: Mingli Yu <[email protected]>

Add the missing rdepends to fix the error such as below:

 # python3
 [snip]
Quoted 1 line
Quoted 1 line
Quoted 1 line

import M2Crypto

ModuleNotFoundError: No module named 'decimal'

---
 .../recipes-devtools/python/python-m2crypto.inc    | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python-m2crypto.inc +10 -4
index 881fdf1cc..81c81645a 100644
@@ -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}"
Signature · 1 line
2.24.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Mingli

From: Mingli Yu <[email protected]>

Add the missing rdepends to fix the error such as below:

  # python3
  [snip]
Quoted 1 line
Quoted 1 line
Quoted 1 line

import M2Crypto

ModuleNotFoundError: No module named 'decimal'

Quoted 31 lines
---
  .../recipes-devtools/python/python-m2crypto.inc    | 14 ++++++++++----
  1 file changed, 10 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python-m2crypto.inc +10 -4
index 881fdf1cc..81c81645a 100644
@@ -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}"