[packages/python3-asgiref] - updated to 3.10.0
qboosh
qboosh at pld-linux.org
Mon Nov 3 21:27:17 CET 2025
commit f8a0689baaca187a455c80ea87ddfa604513bcdf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Nov 3 21:27:18 2025 +0100
- updated to 3.10.0
python3-asgiref.spec | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
---
diff --git a/python3-asgiref.spec b/python3-asgiref.spec
index 60e6392..042d4fa 100644
--- a/python3-asgiref.spec
+++ b/python3-asgiref.spec
@@ -4,38 +4,53 @@
%define module asgiref
Summary: ASGI specs, helper code, and adapters
+Summary(pl.UTF-8): Specyfikacja ASGI, kod pomocniczy i adaptery
Name: python3-%{module}
-Version: 3.9.2
+Version: 3.10.0
Release: 1
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/asgiref/
Source0: https://files.pythonhosted.org/packages/source/a/asgiref/%{module}-%{version}.tar.gz
-# Source0-md5: 6281a0541574b46fde3d09db79746048
+# Source0-md5: 6799fce19314e0aaeb789a6d0f6d45fa
URL: https://pypi.org/project/asgiref/
-BuildRequires: python3-modules >= 1:3.2
+BuildRequires: python3-modules >= 1:3.9
BuildRequires: python3-setuptools
%if %{with tests}
+BuildRequires: python3-pytest
BuildRequires: python3-pytest-asyncio
+%if "%{_ver_lt %{py3_ver} 3.11}" == "1"
+%endif
+BuildRequires: python3-typing_extensions >= 4
%endif
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python3-modules >= 1:3.2
+BuildRequires: rpmbuild(macros) >= 1.749
+Requires: python3-modules >= 1:3.9
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
ASGI is a standard for Python asynchronous web apps and servers to
communicate with each other, and positioned as an asynchronous
-successor to WSGI.
-You can read more at https://asgi.readthedocs.io/en/latest/
+successor to WSGI. You can read more at
+<https://asgi.readthedocs.io/en/latest/>.
This package includes ASGI base libraries, such as:
-
- Sync-to-async and async-to-sync function wrappers, asgiref.sync
- Server base classes, asgiref.server
- A WSGI-to-ASGI adapter, in asgiref.wsgi
+%description -l pl.UTF-8
+ASGI to standard dla asynchronicznych aplikacji WWW i serwerów w
+Pythonie, komunikujących się ze sobą i uważanych za asynchronicznych
+następców WSGI. Więcej na ten temat można się dowiedzieć pod
+<https://asgi.readthedocs.io/en/latest/>.
+
+Ten pakiet zawiera biblioteki podstawowe ASGI, takie jak:
+- asgiref.sync - funkcje obudowujące sync-do-async i async-do-sync
+- asgiref.server - klasy bazowe serwera
+- asgiref.wsgi - adapter WSGI-do-ASGI
+
%prep
%setup -q -n %{module}-%{version}
@@ -43,7 +58,6 @@ This package includes ASGI base libraries, such as:
%py3_build
%if %{with tests}
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTEST_PLUGINS=asyncio \
%{__python3} -m pytest tests
@@ -59,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.rst
+%doc LICENSE README.rst
%dir %{py3_sitescriptdir}/%{module}
%{py3_sitescriptdir}/%{module}/*.py
%{py3_sitescriptdir}/%{module}/py.typed
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-asgiref.git/commitdiff/f8a0689baaca187a455c80ea87ddfa604513bcdf
More information about the pld-cvs-commit
mailing list