1 Star 0 Fork 25

桐小哥/python-tornado

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-tornado.spec 2.27 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 21:12 . Package init
Name: python-tornado
Version: 5.0.2
Release: 5
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
BuildRequires: gcc python2-devel python2-singledispatch python3-devel
%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 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
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
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-tornado
%defattr(-,root,root)
%license LICENSE
%doc README.rst
%{python2_sitearch}/*
%files -n python3-tornado
%defattr(-,root,root)
%license LICENSE
%doc README.rst
%{python3_sitearch}/*
%changelog
* Tue Dec 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.0.2-5
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tong_1001/python-tornado.git
git@gitee.com:tong_1001/python-tornado.git
tong_1001
python-tornado
python-tornado
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385