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>
Fixes the following error during install phase:
ImportError: No module named setuptools_ext
ERROR: python setup.py install execution failed.
Reported-by: athoik@openpli.org
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Dropped x509_revoked_dup.patch,since the original file crl.c does not exist anymore.
* Add DEPENDS python-cryptography to aviod build errors:
| error: Could not find suitable distribution for Requirement.parse('six>=1.5.2')
| ERROR: python setup.py install execution failed.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>