forked from pool/python-tornado
- Require tornado5 for py2 and tornado6 for py3 as they
are in different versions - Also switch from singlespec to explicit writeup for the obvious distinction between different versions of 2 and 3 variant OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=117
This commit is contained in:
committed by
Git OBS Bridge
parent
ca62df0887
commit
0bd8bf125e
@@ -1,6 +1,3 @@
|
||||
This package should always depend on the preferred numbered
|
||||
version of tornado, so "python-tornadoX" where "X" is the
|
||||
major version number.
|
||||
|
||||
Currently that is python-tornado4 as other packages
|
||||
transition to this format
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 13:36:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Require tornado5 for py2 and tornado6 for py3 as they
|
||||
are in different versions
|
||||
- Also switch from singlespec to explicit writeup for the obvious
|
||||
distinction between different versions of 2 and 3 variant
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 15:09:36 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
@@ -18,19 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-tornado
|
||||
Version: 4.5.3
|
||||
Version: 5
|
||||
Release: 0
|
||||
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
||||
License: Apache-2.0
|
||||
Source0: README.suse
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.tornadoweb.org
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-tornado-impl = %{version}
|
||||
Requires: python-tornado-impl = %{version}
|
||||
URL: http://www.tornadoweb.org
|
||||
Source0: README.SUSE
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Tornado is an open source version of the scalable, non-blocking web server and
|
||||
@@ -48,17 +42,66 @@ features — every active user of FriendFeed maintains an open connection to the
|
||||
FriendFeed servers. (For more information on scaling servers to support
|
||||
thousands of clients, see The C10K problem.)
|
||||
|
||||
%package -n python2-tornado
|
||||
Version: 5.1
|
||||
Release: 0
|
||||
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
||||
Requires: python-tornado5
|
||||
Provides: python-tornado = %{version}
|
||||
Obsoletes: python-tornado < %{version}
|
||||
|
||||
%description -n python2-tornado
|
||||
Tornado is an open source version of the scalable, non-blocking web server and
|
||||
tools that power FriendFeed. The FriendFeed application is written using a web
|
||||
framework that looks a bit like web.py or Google's webapp, but with additional
|
||||
tools and optimizations to take advantage of the underlying non-blocking
|
||||
infrastructure.
|
||||
|
||||
The framework is distinct from most mainstream web server frameworks (and
|
||||
certainly most Python frameworks) because it is non-blocking and reasonably
|
||||
fast. Because it is non-blocking and uses epoll, it can handle thousands of
|
||||
simultaneous standing connections, which means it is ideal for real-time web
|
||||
services. We built the web server specifically to handle FriendFeed's real-time
|
||||
features — every active user of FriendFeed maintains an open connection to the
|
||||
FriendFeed servers. (For more information on scaling servers to support
|
||||
thousands of clients, see The C10K problem.)
|
||||
|
||||
%package -n python3-tornado
|
||||
Version: 6.0
|
||||
Release: 0
|
||||
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
||||
Requires: python-tornado6
|
||||
|
||||
%description -n python3-tornado
|
||||
Tornado is an open source version of the scalable, non-blocking web server and
|
||||
tools that power FriendFeed. The FriendFeed application is written using a web
|
||||
framework that looks a bit like web.py or Google's webapp, but with additional
|
||||
tools and optimizations to take advantage of the underlying non-blocking
|
||||
infrastructure.
|
||||
|
||||
The framework is distinct from most mainstream web server frameworks (and
|
||||
certainly most Python frameworks) because it is non-blocking and reasonably
|
||||
fast. Because it is non-blocking and uses epoll, it can handle thousands of
|
||||
simultaneous standing connections, which means it is ideal for real-time web
|
||||
services. We built the web server specifically to handle FriendFeed's real-time
|
||||
features — every active user of FriendFeed maintains an open connection to the
|
||||
FriendFeed servers. (For more information on scaling servers to support
|
||||
thousands of clients, see The C10K problem.)
|
||||
|
||||
%prep
|
||||
%setup -q -T -c
|
||||
cp %{SOURCE0} .
|
||||
|
||||
%build
|
||||
# None
|
||||
:
|
||||
|
||||
%install
|
||||
# None
|
||||
:
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.suse
|
||||
%files -n python2-tornado
|
||||
%doc README.SUSE
|
||||
|
||||
%files -n python3-tornado
|
||||
%doc README.SUSE
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user