[Buildroot] [PATCH 3/3] python-tornado: add Python 2 dependencies

yegorslists at googlemail.com yegorslists at googlemail.com
Fri Apr 22 13:36:30 UTC 2016


From: Yegor Yefremov <yegorslists at googlemail.com>

Some Python programs check dependencies of used Python packages at
runtime. As both python-backports-ssl-match-hostname and python-certifi
are not required for Python > 2.7.9, they are not required for tornado
to work. But tornado's setup.py checks only major and minor Python
versions, so such packages as python-circus will fail, if those
packages are not present at runtime.

Fixes #8856

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
---
 package/python-tornado/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/python-tornado/Config.in b/package/python-tornado/Config.in
index ac86682..80db2fd 100644
--- a/package/python-tornado/Config.in
+++ b/package/python-tornado/Config.in
@@ -2,8 +2,10 @@ config BR2_PACKAGE_PYTHON_TORNADO
 	bool "python-tornado"
 	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
 	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
-	select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime
 	select BR2_PACKAGE_PYTHON_BACKPORTS_ABC	# runtime
+	select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON_SINGLEDISPATCH if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON_CERTIFI if BR2_PACKAGE_PYTHON # runtime
 	help
 	  Tornado is a Python web framework and asynchronous networking
 	  library, originally developed at FriendFeed.
-- 
2.8.0.rc3




More information about the buildroot mailing list