![Jan Dohl](/assets/img/avatar_default.png)
Tornado got a requirement on the SSL module in version 5.0.2 which is also checked in the setup.py script before installing. Since the check in buildroot runs against the host-python which is built without SSL support, these checks fail. Adding OpenSSL support to host-python does not make sense since the Python on the target will be a different one. Instead, remove the checks (which, according to the source code comments essentially check for Python >= 2.7.9 / Python3 >= 3.4 which is true for current Buildroot) and select the SSL option of Python/Python3 when Tornado is selected. Signed-off-by: Jan Dohl <polygon@wh2.tu-dresden.de> [Thomas: adjust commit title, convert patch to a Git formatted one.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
15 lines
543 B
Makefile
15 lines
543 B
Makefile
################################################################################
|
|
#
|
|
# python-tornado
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_TORNADO_VERSION = 5.0.2
|
|
PYTHON_TORNADO_SOURCE = tornado-$(PYTHON_TORNADO_VERSION).tar.gz
|
|
PYTHON_TORNADO_SITE = https://pypi.python.org/packages/cf/d1/3be271ae5eba9fb59df63c9891fdc7d8044b999e8ac145994cdbfd2ae66a
|
|
PYTHON_TORNADO_LICENSE = Apache-2.0
|
|
PYTHON_TORNADO_LICENSE_FILES = LICENSE
|
|
PYTHON_TORNADO_SETUP_TYPE = setuptools
|
|
|
|
$(eval $(python-package))
|