forked from pool/python-tornado
Accepting request 109043 from devel:languages:python
- Simplified macro usage - Use upstream tarball OBS-URL: https://build.opensuse.org/request/show/109043 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tornado?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 12 21:38:08 UTC 2012 - saschpe@gmx.de
|
||||
|
||||
- Simplified macro usage
|
||||
- Use upstream tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 23:17:07 UTC 2012 - alexandre@exatati.com.br
|
||||
|
||||
|
@@ -15,9 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: python-tornado
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
@@ -25,28 +22,31 @@ Url: http://www.tornadoweb.org
|
||||
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: tornado-%{version}.tar.bz2
|
||||
Source: http://github.com/downloads/facebook/tornado/tornado-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
Requires: python-curl
|
||||
Requires: python-simplejson
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
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.
|
||||
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
|
||||
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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e47ce02fa3c0037af1904e55843aec6739f1192d14128d5afdf1d09dd1ffe98
|
||||
size 285743
|
3
tornado-2.2.tar.gz
Normal file
3
tornado-2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:246f9c7cd476fc17a09c86cbcbab2350353dc0c6d9220e1acc8814186a1a0466
|
||||
size 330317
|
Reference in New Issue
Block a user