14
0

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:
Stephan Kulow
2012-03-13 08:39:14 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 19 deletions

View File

@@ -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 Mon Jan 30 23:17:07 UTC 2012 - alexandre@exatati.com.br

View File

@@ -15,9 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # 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 Name: python-tornado
Version: 2.2 Version: 2.2
Release: 0 Release: 0
@@ -25,28 +22,31 @@ Url: http://www.tornadoweb.org
Summary: Open source version of scalable, non-blocking web server that power FriendFeed Summary: Open source version of scalable, non-blocking web server that power FriendFeed
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
Requires: python-curl Requires: python-curl
Requires: python-simplejson Requires: python-simplejson
%if 0%{?suse_version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%py_requires %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%if 0%{?suse_version} > 1110 %else
BuildArch: noarch BuildArch: noarch
%endif %endif
%endif
%description %description
Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. Tornado is an open source version of the scalable, non-blocking web server and
The FriendFeed application is written using a web framework that looks a bit like web.py or Google's webapp, tools that power FriendFeed. The FriendFeed application is written using a web
but with additional tools and optimizations to take advantage of the underlying non-blocking infrastructure. 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) The framework is distinct from most mainstream web server frameworks (and
because it is non-blocking and reasonably fast. Because it is non-blocking and uses epoll, it can handle certainly most Python frameworks) because it is non-blocking and reasonably
thousands of simultaneous standing connections, which means it is ideal for real-time web services. We built fast. Because it is non-blocking and uses epoll, it can handle thousands of
the web server specifically to handle FriendFeed's real-time features every active user of FriendFeed simultaneous standing connections, which means it is ideal for real-time web
maintains an open connection to the FriendFeed servers. (For more information on scaling servers to support 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.) thousands of clients, see The C10K problem.)
%prep %prep

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:246f9c7cd476fc17a09c86cbcbab2350353dc0c6d9220e1acc8814186a1a0466
size 330317