mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-17 22:48:28 +00:00
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 <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
a6423360a1
commit
75679d4422
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user