[oe] [PATCH][meta-oe] python-pyopenssl: Add missing RDEPENDS on "six" and "cryptography"
Mike Looijmans
mike.looijmans at topic.nl
Sun Sep 13 19:01:53 UTC 2015
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
Signed-off-by: Mike Looijmans <mike.looijmans at topic.nl>
---
meta-python/recipes-devtools/python/python-pyopenssl_0.15.1.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-python/recipes-devtools/python/python-pyopenssl_0.15.1.bb b/meta-python/recipes-devtools/python/python-pyopenssl_0.15.1.bb
index 7f93012..d80e666 100644
--- a/meta-python/recipes-devtools/python/python-pyopenssl_0.15.1.bb
+++ b/meta-python/recipes-devtools/python/python-pyopenssl_0.15.1.bb
@@ -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}"
--
2.1.0
More information about the Openembedded-devel
mailing list