aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2020-06-09 14:18:06 +0800
committerArmin Kuster <akuster808@gmail.com>2020-07-01 08:01:41 -0700
commitf0cfde76c0f2e8fe0ec0b607bc02fb6d2a79a0fd (patch)
treedc89de9e2b0ed0687354c356eb9e1c3794bbcc6c /meta-python
parent6c2d6061aa6fec41683180fd8823d3e7bf1fcf64 (diff)
downloadmeta-openembedded-f0cfde76c0f2e8fe0ec0b607bc02fb6d2a79a0fd.tar.gz
meta-openembedded-f0cfde76c0f2e8fe0ec0b607bc02fb6d2a79a0fd.tar.bz2
meta-openembedded-f0cfde76c0f2e8fe0ec0b607bc02fb6d2a79a0fd.zip
python-m2crypto: Add RDEPENDS
fix errors: ModuleNotFoundError: No module named 'distutils' ModuleNotFoundError: No module named 'asyncore' ModuleNotFoundError: No module named 'xmlrpc' Signed-off-by: Changqing Li <changqing.li@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 1d6071e97157851dbfbdf26f302fc5ec8f6ee4db) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-m2crypto.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-m2crypto.inc b/meta-python/recipes-devtools/python/python-m2crypto.inc
index 76dd58ce0..881fdf1cc 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto.inc
+++ b/meta-python/recipes-devtools/python/python-m2crypto.inc
@@ -17,7 +17,11 @@ PYPI_PACKAGE = "M2Crypto"
inherit pypi siteinfo
DEPENDS += "openssl swig-native"
-RDEPENDS_${PN} += "${PYTHON_PN}-typing"
+RDEPENDS_${PN} += "${PYTHON_PN}-typing \
+ ${PYTHON_PN}-distutils \
+ ${PYTHON_PN}-smtpd \
+ ${PYTHON_PN}-xmlrpc \
+"
DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGING_INCDIR}"
DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}"