14
0

- Update to version 3.1:

+ See http://www.tornadoweb.org/en/stable/releases/v3.1.0.html
- Fix rpmlint issues properly
- Use upstream URL

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=29
This commit is contained in:
Sascha Peilicke
2013-08-15 11:00:45 +00:00
committed by Git OBS Bridge
parent 3987afc5a3
commit f305b3a530
4 changed files with 15 additions and 13 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 15 11:03:17 UTC 2013 - speilicke@suse.com
- Update to version 3.1:
+ See http://www.tornadoweb.org/en/stable/releases/v3.1.0.html
- Fix rpmlint issues properly
- Use upstream URL
-------------------------------------------------------------------
Thu Apr 11 16:47:30 UTC 2013 - alexandre@exatati.com.br

View File

@@ -16,20 +16,18 @@
#
Name: python-tornado
Version: 3.0.1
Version: 3.1
Release: 0
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: https://pypi.python.org/packages/source/t/tornado/tornado-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
Requires: python-pycurl
Requires: python-simplejson
%if 0%{?suse_version}
BuildRequires: fdupes
%endif
%if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
@@ -54,18 +52,14 @@ thousands of clients, see The C10K problem.)
%prep
%setup -q -n tornado-%{version}
# Fix non-executable script rpmlint issue:
find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%if 0%{?suse_version}
%fdupes demos
%endif
# fix executability rmplint warning
chmod +x %{buildroot}%{python_sitelib}/tornado/*.py
chmod +x %{buildroot}%{python_sitelib}/tornado/*/*.py
%files
%defattr(-,root,root,-)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b6e5697abb2aa24df632ee6079b5a749ceb3318cdae53ac65ac9883250d4d33
size 310214

3
tornado-3.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:898b577e37b8681bf3d31483b7a30a2db062e99fb1b2b2cb65d203759d3a88d0
size 374189