From efd3274b04fa8a48201fbca5377d802f8b1a0816 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: May 26 2023 06:08:17 +0000 Subject: Update to 0.24.0 Related-to: https://review.rdoproject.org/r/q/I805ea54482ccbcd8e0b5494f79a64ee422105757 --- diff --git a/.python-httpx.metadata b/.python-httpx.metadata new file mode 100644 index 0000000..2847795 --- /dev/null +++ b/.python-httpx.metadata @@ -0,0 +1 @@ +6c1d2605526a8649f67a46d34ae1374d7cee98e3 SOURCES/httpx-0.24.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..7aa4a5f --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-httpx + +The python-httpx package \ No newline at end of file diff --git a/SPECS/python-httpx.spec b/SPECS/python-httpx.spec new file mode 100644 index 0000000..0f61280 --- /dev/null +++ b/SPECS/python-httpx.spec @@ -0,0 +1,144 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global pypi_name httpx + +Name: python-%{pypi_name} +Version: 0.24.0 +Release: %autorelease +Summary: Python HTTP client + +License: BSD +URL: https://github.com/encode/httpx +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +%description +HTTPX is a fully featured HTTP client for Python, which provides sync and +async APIs, and support for both HTTP/1.1 and HTTP/2. + +%package -n python3-%{pypi_name} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-setuptools + +%description -n python3-%{pypi_name} +HTTPX is a fully featured HTTP client for Python, which provides sync and +async APIs, and support for both HTTP/1.1 and HTTP/2. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%generate_buildrequires +%pyproject_buildrequires -w + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%license LICENSE.md +%doc README.md +%attr(755, root, root) %{_bindir}/httpx + +%changelog +* Mon May 15 2023 FrantiĊĦek Zatloukal - 0.24.0-1 +- Update to 0.24 (Fixes RHBZ#2143942 ) + +* Fri Jan 20 2023 Fedora Release Engineering - 0.23.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Sep 18 2022 Fabian Affolter - 0.23.0-1 +- Update to latest upstream release 0.23.0 (closes rhbz#2127178) + +* Fri Jul 22 2022 Fedora Release Engineering - 0.22.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.22.0-2 +- Rebuilt for Python 3.11 + +* Sun Mar 06 2022 Fabian Affolter - 0.22.0-1 +- Update to latest upstream release 0.22.0 (closes rhbz#2053821) + +* Fri Jan 21 2022 Fedora Release Engineering - 0.21.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Dec 12 2021 Fabian Affolter - 0.21.1-1 +- Update to latest upstream release 0.21.1 + +* Sun Dec 12 2021 Fabian Affolter - 0.21.0-1 +- Update to latest upstream release 0.21.0 + +* Tue Oct 26 2021 Joel Capitao - 0.20.0-1 +- Update to latest upstream release 0.20.0 + +* Thu Aug 26 2021 Fabian Affolter - 0.19.0-1 +- * Thu Aug 26 2021 Fabian Affolter - 0.19.0-1 - + Update to latest upstream release 0.19.0 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.17.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.17.1-2 +- Rebuilt for Python 3.10 + +* Tue Mar 16 2021 Fabian Affolter - 0.17.1-1 +- * Tue Mar 16 2021 Fabian Affolter - 0.17.1 - + Update to new upstream release 0.17.1 (#1933492) + +* Mon Mar 01 2021 Fabian Affolter - 0.17.0-1 +- * Mon Mar 01 2021 Fabian Affolter - 0.17.0-1 - + Update to new upstream release 0.17.0 (#1933492) + +* Wed Jan 27 2021 Fedora Release Engineering - 0.16.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Oct 09 2020 Fabian Affolter - 0.16.1-1 +- * Fri Oct 09 2020 Fabian Affolter - 0.16.1-1 - + Update to new upstream release 0.16.1 (#1884265) + +* Wed Oct 07 2020 Fabian Affolter - 0.16.0-1 +- * Wed Oct 07 2020 Fabian Affolter - 0.16.0-1 - + Update to new upstream release 0.16.0 (#1884265) + +* Sun Oct 04 2020 Fabian Affolter - 0.15.5-1 +- * Sun Oct 04 2020 Fabian Affolter - 0.15.5-1 - + Update to new upstream release 0.15.5 (#1884265) + +* Fri Sep 25 2020 Fabian Affolter - 0.15.4-1 +- * Fri Sep 25 2020 Fabian Affolter - 0.15.4-1 - + Update to latest upstream release 0.15.4 (#1881434) + +* Fri Sep 25 2020 Fabian Affolter - 0.15.3-1 +- * Fri Sep 25 2020 Fabian Affolter - 0.15.3-1 - + Update to latest upstream release 0.15.3 (#1881434) + +* Wed Sep 23 2020 Fabian Affolter - 0.15.0-1 +- * Wed Sep 23 2020 Fabian Affolter - 0.15.0-1 - + Update to latest upstream release 0.15.0 (#1881434) + +* Thu Sep 03 2020 Fabian Affolter - 0.14.3-2 +- * Thu Sep 03 2020 Fabian Affolter - 0.14.3-2 - + Run dependency genenerator + +* Thu Sep 03 2020 Fabian Affolter - 0.14.3-1 +- * Thu Sep 03 2020 Fabian Affolter - 0.14.3-1 - + Update to latest upstream release 0.14.3 (rhbz#1875281) + +* Wed Jul 29 2020 Fedora Release Engineering - 0.13.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 03 2020 Fabian Affolter - 0.13.3-1 +- * Fri Jun 05 2020 Fabian Affolter - 0.13.3-1 - + Initial package for Fedora