[oe] [meta-python][PATCH] python-asn1crypto: correct the RDEPENDS to work on a minimal python install
Derek Straka
derek at asterius.io
Wed Nov 29 20:44:35 UTC 2017
Signed-off-by: Derek Straka <derek at asterius.io>
---
meta-python/recipes-devtools/python/python-asn1crypto.inc | 12 ++++++++++++
.../recipes-devtools/python/python3-asn1crypto_0.23.0.bb | 6 ++++++
2 files changed, 18 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python-asn1crypto.inc b/meta-python/recipes-devtools/python/python-asn1crypto.inc
index 41b7342..92c7198 100644
--- a/meta-python/recipes-devtools/python/python-asn1crypto.inc
+++ b/meta-python/recipes-devtools/python/python-asn1crypto.inc
@@ -10,4 +10,16 @@ SRC_URI[md5sum] = "97d54665c397b72b165768398dfdd876"
SRC_URI[sha256sum] = "0874981329cfebb366d6584c3d16e913f2a0eb026c9463efcc4aaf42a9d94d70"
inherit pypi
+
+RDEPENDS_${PN}_class-target += " \
+ ${PYTHON_PN}-codecs \
+ ${PYTHON_PN}-crypt \
+ ${PYTHON_PN}-ctypes \
+ ${PYTHON_PN}-datetime \
+ ${PYTHON_PN}-io \
+ ${PYTHON_PN}-netclient \
+ ${PYTHON_PN}-textutils \
+ ${PYTHON_PN}-subprocess \
+"
+
BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-asn1crypto_0.23.0.bb b/meta-python/recipes-devtools/python/python3-asn1crypto_0.23.0.bb
index 30f3404..bc67215 100644
--- a/meta-python/recipes-devtools/python/python3-asn1crypto_0.23.0.bb
+++ b/meta-python/recipes-devtools/python/python3-asn1crypto_0.23.0.bb
@@ -1,2 +1,8 @@
inherit setuptools3
require python-asn1crypto.inc
+
+RDEPENDS_${PN}_class-target += " \
+ ${PYTHON_PN}-enum \
+ ${PYTHON_PN}-selectors \
+ ${PYTHON_PN}-shell \
+"
--
2.7.4
More information about the Openembedded-devel
mailing list