[Buildroot] [PATCH 3/3] python-tornado: add Python 2 dependencies
Yegor Yefremov
yegorslists at googlemail.com
Mon May 23 07:05:20 UTC 2016
On Fri, Apr 22, 2016 at 4:49 PM, Yegor Yefremov
<yegorslists at googlemail.com> wrote:
> On Fri, Apr 22, 2016 at 3:36 PM, <yegorslists at googlemail.com> wrote:
>> 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>
>
> This patch depends on http://patchwork.ozlabs.org/patch/613610/
>
> Just didn't want to start a patch series with v2.
I'll change this patch so, that only certifi package is selected.
Yegor
>> ---
>> 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