[packages/python3-httpx2] - new
arekm
arekm at pld-linux.org
Wed Nov 11 02:40:44 CET 2026
commit 495e13cc0a6232b57355a775b9e3d70b30f20637
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 11 02:40:08 2026 +0100
- new
python3-httpx2.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
---
diff --git a/python3-httpx2.spec b/python3-httpx2.spec
new file mode 100644
index 0000000..bb02e1d
--- /dev/null
+++ b/python3-httpx2.spec
@@ -0,0 +1,56 @@
+Summary: The next generation HTTP client
+Summary(pl.UTF-8): Klient HTTP nowej generacji
+Name: python3-httpx2
+Version: 2.16.0
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/httpx2/
+Source0: https://files.pythonhosted.org/packages/source/h/httpx2/httpx2-%{version}.tar.gz
+# Source0-md5: 47d96fcace1556149f50a07cd85a5eaf
+URL: https://github.com/pydantic/httpx2
+BuildRequires: python3-build
+BuildRequires: python3-hatch-fancy-pypi-readme
+BuildRequires: python3-hatchling
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.11
+# metadata hook fills in the httpcore2 version requirement
+BuildRequires: python3-uv-dynamic-versioning >= 0.14.1
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.11
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HTTPX 2 is a maintained fork of HTTPX, a fully featured HTTP client
+library for Python 3. It includes an integrated command line client,
+has support for both HTTP/1.1 and HTTP/2, and provides both sync and
+async APIs.
+
+%description -l pl.UTF-8
+HTTPX 2 to utrzymywane odgałęzienie HTTPX - w pełni funkcjonalnej
+biblioteki klienta HTTP dla Pythona 3. Zawiera zintegrowanego klienta
+linii poleceń, obsługuje HTTP/1.1 oraz HTTP/2 i udostępnia API
+synchroniczne oraz asynchroniczne.
+
+%prep
+%setup -q -n httpx2-%{version}
+
+%build
+%py3_build_pyproject
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md LICENSE.md README.md
+%attr(755,root,root) %{_bindir}/httpx2
+%{py3_sitescriptdir}/httpx2
+%{py3_sitescriptdir}/httpx2-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-httpx2.git/commitdiff/495e13cc0a6232b57355a775b9e3d70b30f20637
More information about the pld-cvs-commit
mailing list