[packages/python-tornado] - rel 4; builds
arekm
arekm at pld-linux.org
Fri Mar 5 08:05:33 CET 2021
commit cf35703c147132dbd9c572d4972a5b12617b00a4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Mar 5 08:05:28 2021 +0100
- rel 4; builds
python-tornado.spec | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/python-tornado.spec b/python-tornado.spec
index e539654..d729809 100644
--- a/python-tornado.spec
+++ b/python-tornado.spec
@@ -12,7 +12,7 @@ Summary(pl.UTF-8): Szkielet WWW i asynchroniczna biblioteka sieciowa
Name: python-%{module}
# keep 5.x here for python2 support
Version: 5.1.1
-Release: 3
+Release: 4
License: Apache v2.0
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/tornado/
@@ -111,6 +111,21 @@ Dokumentacja API modułu Pythona tornado.
# non-Linux
%{__rm} tornado/platform/{kqueue,windows}.py
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+ demos/file_upload/file_receiver.py \
+ demos/file_upload/file_uploader.py \
+ demos/helloworld/helloworld.py \
+ demos/tcpecho/client.py \
+ demos/tcpecho/server.py \
+ demos/twitter/twitterdemo.py \
+ demos/websocket/chatdemo.py
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
+ demos/blog/blog.py \
+ demos/chat/chatdemo.py \
+ demos/facebook/facebook.py \
+ demos/webspider/webspider.py
+
%build
%if %{with python2}
TORNADO_EXTENSION=1 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-tornado.git/commitdiff/cf35703c147132dbd9c572d4972a5b12617b00a4
More information about the pld-cvs-commit
mailing list