python3-m2crypto: add the missing rdepends
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'
Signed-off-by Mingli Yu <[email protected]>
--- .../recipes-devtools/python/python-m2crypto.inc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python-m2crypto.inc +10 -4
@@ -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
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'
Signed-off-by Mingli Yu <[email protected]>
Acked-by Trevor Gamblin <[email protected]>
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@@ -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}"