python-pyopenssl: Add missing RDEPENDS on "six" and "cryptography"
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
Signed-off-by Mike Looijmans <[email protected]>
--- 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
@@ -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