2019-12-14 21:12:53 +08:00
|
|
|
Name: python-tornado
|
|
|
|
|
Version: 5.0.2
|
2020-09-11 19:46:03 +08:00
|
|
|
Release: 6
|
2019-12-14 21:12:53 +08:00
|
|
|
Summary: a Python web framework and asynchronous networking library
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: http://www.tornadoweb.org
|
|
|
|
|
Source0: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
|
|
|
|
|
Patch0: fix-erroneous-deprecation-warnings.patch
|
|
|
|
|
|
2020-09-11 19:46:03 +08:00
|
|
|
BuildRequires: python3-devel
|
2019-12-14 21:12:53 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Tornado is a Python web framework and asynchronous networking library, originally
|
|
|
|
|
developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to
|
|
|
|
|
tens of thousands of open connections, making it ideal for long polling, WebSockets,
|
|
|
|
|
and other applications that require a long-lived connection to each user.
|
|
|
|
|
|
|
|
|
|
%package -n python3-tornado
|
|
|
|
|
Summary: a Python web framework and asynchronous networking library
|
|
|
|
|
Requires: python3-pycurl
|
|
|
|
|
|
|
|
|
|
%description -n python3-tornado
|
|
|
|
|
Tornado is a Python web framework and asynchronous networking library, originally
|
|
|
|
|
developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to
|
|
|
|
|
tens of thousands of open connections, making it ideal for long polling, WebSockets,
|
|
|
|
|
and other applications that require a long-lived connection to each user.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n tornado-%{version} -p1
|
|
|
|
|
%{__sed} -i.orig -e '/^#!\//, 1d' *py tornado/*.py tornado/*/*.py
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%files -n python3-tornado
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitearch}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-09-11 19:46:03 +08:00
|
|
|
* Fri Sep 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 5.0.2-6
|
|
|
|
|
- Remove python2-tornado subpackage
|
|
|
|
|
|
2019-12-14 21:12:53 +08:00
|
|
|
* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.0.2-5
|
|
|
|
|
- Package init
|
|
|
|
|
|