python3-m2crypto: add the missing rdepends

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 <mingli.yu@windriver.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mingli Yu
2020-06-12 11:46:46 +08:00
committed by Khem Raj
parent 342ffdc3c3
commit fe77eaab8f

View File

@@ -17,10 +17,16 @@ PYPI_PACKAGE = "M2Crypto"
inherit pypi siteinfo inherit pypi siteinfo
DEPENDS += "openssl swig-native" DEPENDS += "openssl swig-native"
RDEPENDS_${PN} += "${PYTHON_PN}-typing \ RDEPENDS_${PN} += "\
${PYTHON_PN}-distutils \ ${PYTHON_PN}-datetime \
${PYTHON_PN}-smtpd \ ${PYTHON_PN}-distutils \
${PYTHON_PN}-xmlrpc \ ${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}" DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGING_INCDIR}"