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:
mike.looijmans@topic.nl 2015-09-13 21:01:53 +02:00 committed by Martin Jansa
parent a6423360a1
commit 75679d4422

View File

@ -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}"