[packages/python3-aioquic] - new

arekm arekm at pld-linux.org
Wed Nov 11 03:14:24 CET 2026


commit 0567f92c1ce9a4cbbabda42e56ec4f0cfca5249c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Nov 11 03:13:46 2026 +0100

    - new

 python3-aioquic.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)
---
diff --git a/python3-aioquic.spec b/python3-aioquic.spec
new file mode 100644
index 0000000..440da14
--- /dev/null
+++ b/python3-aioquic.spec
@@ -0,0 +1,83 @@
+#
+# Conditional build:
+%bcond_without	tests	# unit tests
+
+%define		module	aioquic
+Summary:	An implementation of QUIC and HTTP/3
+Summary(pl.UTF-8):	Implementacja QUIC i HTTP/3
+Name:		python3-%{module}
+Version:	1.7.2
+Release:	1
+License:	BSD
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/aioquic/
+Source0:	https://files.pythonhosted.org/packages/source/a/aioquic/%{module}-%{version}.tar.gz
+# Source0-md5:	1ec391528fdebb6fa97eaf09d87d9250
+URL:		https://github.com/aiortc/aioquic
+BuildRequires:	python3-build
+BuildRequires:	python3-devel >= 1:3.11
+BuildRequires:	python3-installer
+BuildRequires:	python3-setuptools >= 1:70.1
+%if %{with tests}
+BuildRequires:	python3-certifi
+BuildRequires:	python3-cryptography >= 43.0.0
+BuildRequires:	python3-pylsqpack >= 1.0.0
+BuildRequires:	python3-pylsqpack < 2
+BuildRequires:	python3-pyOpenSSL >= 24
+BuildRequires:	python3-pytest
+BuildRequires:	python3-service_identity >= 24.1.0
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.11
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+aioquic is a library for the QUIC network protocol in Python. It
+features a minimal TLS 1.3 implementation, a QUIC stack and an HTTP/3
+stack. Both the QUIC and the HTTP/3 APIs follow the "bring your own
+I/O" pattern, leaving actual I/O operations to the API user.
+
+%description -l pl.UTF-8
+aioquic to biblioteka protokołu sieciowego QUIC dla Pythona. Zawiera
+minimalną implementację TLS 1.3, stos QUIC oraz stos HTTP/3. Zarówno
+API QUIC, jak i HTTP/3 pozostawiają faktyczne operacje wejścia/wyjścia
+użytkownikowi API.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+%{__python3} -m zipfile -e build-3/*.whl build-3-test
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(pwd)/build-3-test \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/%{module}/_buffer.c
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%dir %{py3_sitedir}/%{module}
+%{py3_sitedir}/%{module}/*.py
+%{py3_sitedir}/%{module}/_buffer.pyi
+%{py3_sitedir}/%{module}/py.typed
+%{py3_sitedir}/%{module}/__pycache__
+%attr(755,root,root) %{py3_sitedir}/%{module}/_buffer.abi3.so
+%{py3_sitedir}/%{module}/asyncio
+%{py3_sitedir}/%{module}/h0
+%{py3_sitedir}/%{module}/h3
+%{py3_sitedir}/%{module}/quic
+%{py3_sitedir}/%{module}-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-aioquic.git/commitdiff/0567f92c1ce9a4cbbabda42e56ec4f0cfca5249c



More information about the pld-cvs-commit mailing list