Skip to contentSkip to conversation

python-asn1crypto: correct the RDEPENDS to work on a minimal python install

PATCH New Derek Straka 1 participant 1 message Nov 29, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-asn1crypto: correct the RDEPENDS to work on a minimal python install

---
 meta-python/recipes-devtools/python/python-asn1crypto.inc    | 12 ++++++++++++
 .../recipes-devtools/python/python3-asn1crypto_0.23.0.bb     |  6 ++++++
 2 files changed, 18 insertions(+)
meta-python/recipes-devtools/python/python-asn1crypto.inc +12 -0
index 41b7342..92c7198 100644
@@ -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"
meta-python/recipes-devtools/python/python3-asn1crypto_0.23.0.bb +6 -0
index 30f3404..bc67215 100644
@@ -1,2 +1,8 @@
 inherit setuptools3
 require python-asn1crypto.inc
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-enum \
+    ${PYTHON_PN}-selectors \
+    ${PYTHON_PN}-shell \
+"
Signature · 1 line
2.7.4