Remove python2-tornado subpackage
This commit is contained in:
parent
0078d500f3
commit
eac909d896
@ -1,13 +1,13 @@
|
|||||||
Name: python-tornado
|
Name: python-tornado
|
||||||
Version: 5.0.2
|
Version: 5.0.2
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: a Python web framework and asynchronous networking library
|
Summary: a Python web framework and asynchronous networking library
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://www.tornadoweb.org
|
URL: http://www.tornadoweb.org
|
||||||
Source0: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
|
||||||
Patch0: fix-erroneous-deprecation-warnings.patch
|
Patch0: fix-erroneous-deprecation-warnings.patch
|
||||||
|
|
||||||
BuildRequires: gcc python2-devel python2-singledispatch python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tornado is a Python web framework and asynchronous networking library, originally
|
Tornado is a Python web framework and asynchronous networking library, originally
|
||||||
@ -15,16 +15,6 @@ 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,
|
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.
|
and other applications that require a long-lived connection to each user.
|
||||||
|
|
||||||
%package -n python2-tornado
|
|
||||||
Summary: a Python web framework and asynchronous networking library
|
|
||||||
Requires: python2-pycurl python2-backports_abc python2-singledispatch python2-futures
|
|
||||||
|
|
||||||
%description -n python2-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.
|
|
||||||
|
|
||||||
%package -n python3-tornado
|
%package -n python3-tornado
|
||||||
Summary: a Python web framework and asynchronous networking library
|
Summary: a Python web framework and asynchronous networking library
|
||||||
Requires: python3-pycurl
|
Requires: python3-pycurl
|
||||||
@ -40,19 +30,11 @@ and other applications that require a long-lived connection to each user.
|
|||||||
%{__sed} -i.orig -e '/^#!\//, 1d' *py tornado/*.py tornado/*/*.py
|
%{__sed} -i.orig -e '/^#!\//, 1d' *py tornado/*.py tornado/*/*.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-tornado
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.rst
|
|
||||||
%{python2_sitearch}/*
|
|
||||||
|
|
||||||
%files -n python3-tornado
|
%files -n python3-tornado
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -60,6 +42,9 @@ and other applications that require a long-lived connection to each user.
|
|||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 11 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 5.0.2-6
|
||||||
|
- Remove python2-tornado subpackage
|
||||||
|
|
||||||
* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.0.2-5
|
* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.0.2-5
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user