[packages/python3-tornado] - updated to 6.5.1
qboosh
qboosh at pld-linux.org
Sun Jun 29 19:24:25 CEST 2025
commit fb865e24e0aa84cf24cb3b106f8238f85eb25c05
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 29 19:25:49 2025 +0200
- updated to 6.5.1
asyncio-docs.patch | 10 ----------
python3-tornado.spec | 21 +++++++--------------
2 files changed, 7 insertions(+), 24 deletions(-)
---
diff --git a/python3-tornado.spec b/python3-tornado.spec
index 0b60829..f3b0803 100644
--- a/python3-tornado.spec
+++ b/python3-tornado.spec
@@ -7,18 +7,17 @@
Summary: Web framework and asynchronous networking library
Summary(pl.UTF-8): Szkielet WWW i asynchroniczna biblioteka sieciowa
Name: python3-tornado
-Version: 6.2
-Release: 4
+Version: 6.5.1
+Release: 1
License: Apache v2.0
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/tornado/
Source0: https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
-# Source0-md5: 32fbad606b439c3e1bf4e79d4e872741
-Patch0: asyncio-docs.patch
+# Source0-md5: e3e3d74e2fedffacdacd8626d0c17a37
URL: https://www.tornadoweb.org/
%if %{with python3}
-BuildRequires: python3-devel >= 1:3.7
-BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-devel >= 1:3.9
+BuildRequires: python3-modules >= 1:3.9
BuildRequires: python3-setuptools
%if %{with tests}
# SO_REUSEPORT option
@@ -34,7 +33,7 @@ BuildRequires: python3-sphinx_rtd_theme
BuildRequires: python3-twisted
BuildRequires: sphinx-pdg-3 >= 6
%endif
-Requires: python3-modules >= 1:3.7
+Requires: python3-modules >= 1:3.9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -66,9 +65,6 @@ Dokumentacja API modułu Pythona tornado.
%prep
%setup -q -n tornado-%{version}
-%patch -P0 -p1
-
-%{__sed} -i -e '1s,/usr/bin/env python3\?,%{__python3},' demos/*/*.py
%build
TORNADO_EXTENSION=1 \
@@ -88,12 +84,10 @@ sphinx-build-3 -b html -n -d docs/build/doctrees docs docs/build/html
rm -rf $RPM_BUILD_ROOT
%py3_install
+
# just tornado tests with their data
%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/tornado/test
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cp -a demos/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -107,7 +101,6 @@ rm -rf $RPM_BUILD_ROOT
%{py3_sitedir}/tornado/platform
%{py3_sitedir}/tornado/__pycache__
%{py3_sitedir}/tornado-%{version}-py*.egg-info
-%{_examplesdir}/%{name}-%{version}
%if %{with doc}
%files apidocs
diff --git a/asyncio-docs.patch b/asyncio-docs.patch
deleted file mode 100644
index 5f991c6..0000000
--- a/asyncio-docs.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- tornado-6.2/docs/conf.py.orig 2022-07-04 00:11:56.000000000 +0200
-+++ tornado-6.2/docs/conf.py 2025-04-21 22:11:44.155572853 +0200
-@@ -19,7 +19,6 @@
- "sphinx.ext.doctest",
- "sphinx.ext.intersphinx",
- "sphinx.ext.viewcode",
-- "sphinxcontrib.asyncio",
- ]
-
- primary_domain = "py"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-tornado.git/commitdiff/fb865e24e0aa84cf24cb3b106f8238f85eb25c05
More information about the pld-cvs-commit
mailing list