python-tornado: fix runtime dependencies
commitc37648bac43344750bdff130cb3cda97fa9152f5
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 29 Jun 2016 08:01:24 +0000 (29 10:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Jul 2016 13:26:21 +0000 (1 15:26 +0200)
tree34b022620806bfb2eeb205fb85b3864aef98496a
parentb0eb6bf447379ad14a826b0c7aee87c636367c6b
python-tornado: fix runtime dependencies

According to setup.py tornado requires backports.ssl_match_hostname
for Python < 3.2 and certifi for Python < 3.4.

Actually both requirements are optional and tornado alone can work
without them, but Python packages like python-circus check requirements
at runtime and though they don't use this funtionality, they insist on
having these packages installed.

An upstream patch fixes backports.ssl_match_hostname dependency and
selecting python-certifi for Python 2 fixes certifi dependency till
this is fixed upstream.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-tornado/0001-Don-t-require-backports.ssl_match_hostname-on-Python.patch [new file with mode: 0644]
package/python-tornado/Config.in