Skip to contentSkip to conversation

python-pyopenssl: Add missing RDEPENDS on "six" and "cryptography"

PATCH New Mike Looijmans 1 participant 1 message Sep 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pyopenssl: Add missing RDEPENDS on "six" and "cryptography"

Fixes the following errors when doing "import OpenSSL":

File "/usr/lib/python2.7/site-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
File "/usr/lib/python2.7/site-packages/OpenSSL/rand.py", line 9, in <module>
from six import integer_types as _integer_types
ImportError: No module named six

---
 meta-python/recipes-devtools/python/python-pyopenssl_0.15.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-pyopenssl_0.15.1.bb +1 -1
index 7f93012..d80e666 100644
@@ -21,5 +21,5 @@ inherit setuptools
 PACKAGES =+ "${PN}-tests"
 FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
 
-RDEPENDS_${PN} = "python-threading"
+RDEPENDS_${PN} = "python-threading python-six python-cryptography"
 RDEPENDS_${PN}-tests = "${PN}"
Signature · 1 line
2.1.0