14
0

Accepting request 546290 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/546290
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=65
This commit is contained in:
Tomáš Chvátal
2017-11-30 10:00:26 +00:00
committed by Git OBS Bridge
parent 775adde41b
commit 21c9ee96d6
6 changed files with 32 additions and 27 deletions

View File

@@ -18,15 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-tornado
Version: 4.4.3
Version: 4.5.2
Release: 0
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.tornadoweb.org
Source: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
Patch0: tornado-configtest.patch
Patch1: tornado-async-deprecations.patch
Patch0: tornado-async-deprecations.patch
%if 0%{?sle_version} == 120000 && !0%{?is_opensuse}
BuildRequires: %{python_module backports.ssl_match_hostname}
BuildRequires: %{python_module certifi}
@@ -79,7 +78,6 @@ thousands of clients, see The C10K problem.)
# Fix non-executable script rpmlint issue:
find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
%patch0 -p1
%patch1 -p1
%pre
# remove egg-info _file_, being replaced by an egg-info directory