|
rdobuilder |
ab07ea |
%global pypi_name httpcore
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%if %{defined fedora}
|
|
rdobuilder |
ab07ea |
%bcond_without tests
|
|
rdobuilder |
ab07ea |
%endif
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
Name: python-%{pypi_name}
|
|
rdobuilder |
ab07ea |
Version: 1.0.2
|
|
rdobuilder |
ab07ea |
Release: 1%{dist}
|
|
rdobuilder |
ab07ea |
Summary: Minimal low-level HTTP client
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
License: BSD
|
|
rdobuilder |
ab07ea |
URL: https://github.com/encode/httpcore
|
|
rdobuilder |
ab07ea |
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
rdobuilder |
ab07ea |
BuildArch: noarch
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%description
|
|
rdobuilder |
ab07ea |
The HTTP Core package provides a minimal low-level HTTP client, which does
|
|
rdobuilder |
ab07ea |
one thing only: Sending HTTP requests. It does not provide any high level
|
|
rdobuilder |
ab07ea |
model abstractions over the API, does not handle redirects, multipart uploads,
|
|
rdobuilder |
ab07ea |
building authentication headers, transparent HTTP caching, URL parsing, etc.
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%package -n python3-%{pypi_name}
|
|
rdobuilder |
ab07ea |
Summary: %{summary}
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
BuildRequires: python3-devel
|
|
rdobuilder |
ab07ea |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
ab07ea |
BuildRequires: python3-setuptools
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%if %{with tests}
|
|
rdobuilder |
ab07ea |
BuildRequires: %{py3_dist pytest pytest-asyncio pytest-httpbin pytest-trio anyio}
|
|
rdobuilder |
ab07ea |
%endif
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%description -n python3-%{pypi_name}
|
|
rdobuilder |
ab07ea |
The HTTP Core package provides a minimal low-level HTTP client, which does
|
|
rdobuilder |
ab07ea |
one thing only: Sending HTTP requests. It does not provide any high level
|
|
rdobuilder |
ab07ea |
model abstractions over the API, does not handle redirects, multipart uploads,
|
|
rdobuilder |
ab07ea |
building authentication headers, transparent HTTP caching, URL parsing, etc.
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%prep
|
|
rdobuilder |
ab07ea |
%autosetup -n %{pypi_name}-%{version}
|
|
rdobuilder |
ab07ea |
rm -rf %{pypi_name}.egg-info
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%generate_buildrequires
|
|
rdobuilder |
ab07ea |
%pyproject_buildrequires -w %{?with_tests:-x http2,socks}
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%build
|
|
rdobuilder |
ab07ea |
%pyproject_wheel
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%install
|
|
rdobuilder |
ab07ea |
%pyproject_install
|
|
rdobuilder |
ab07ea |
%pyproject_save_files %{pypi_name}
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%check
|
|
rdobuilder |
ab07ea |
%if %{with tests}
|
|
rdobuilder |
ab07ea |
%pytest -Wdefault
|
|
rdobuilder |
ab07ea |
%endif
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
rdobuilder |
ab07ea |
%license LICENSE.md
|
|
rdobuilder |
ab07ea |
%doc README.md
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
%changelog
|
|
rdobuilder |
ab07ea |
* Mon Feb 05 2024 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.2-1
|
|
rdobuilder |
ab07ea |
- Update to latest upstream release (closes rhbz#2249058)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Sat Nov 04 2023 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.1-1
|
|
rdobuilder |
ab07ea |
- Update to latest upstream release (closes rhbz#2238019)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Sat Jul 29 2023 Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com> - 0.17.3-1
|
|
rdobuilder |
ab07ea |
- feat: update to 0.17.3 (fixes rhbz#2140663, rhbz#2171677)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-5
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 0.15.0-4
|
|
rdobuilder |
ab07ea |
- Rebuilt for Python 3.12
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Mon Jul 03 2023 Miro HronĨok <miro@hroncok.cz> - 0.15.0-3
|
|
rdobuilder |
ab07ea |
- Don't treat DeprecationWarnings as errors in tests
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Thu Sep 15 2022 Fabian Affolter <mail@fabian-affolter.ch> - 0.15.0-1
|
|
rdobuilder |
ab07ea |
- Update to latest upstream release 0.15.0 (closes rhbz#2087171)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.7-6
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.14.7-5
|
|
rdobuilder |
ab07ea |
- Rebuilt for Python 3.11
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.14.7-4
|
|
rdobuilder |
ab07ea |
- Bootstrap for Python 3.11
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Wed Mar 16 2022 Carl George <carl@george.computer> - 0.14.7-3
|
|
rdobuilder |
ab07ea |
- Add missing conditional to go with last commit
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Sat Mar 05 2022 Carl George <carl@george.computer> - 0.14.7-2
|
|
rdobuilder |
ab07ea |
- Conditionalize tests and clean up test build requirements
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Mar 04 2022 Fabian Affolter <mail@fabian-affolter.ch> - 0.14.7-1
|
|
rdobuilder |
ab07ea |
- Update to latest upstream release 0.14.7 (closes rhbz#2037405)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Thu Mar 03 2022 Carl George <carl@george.computer> - 0.14.3-3
|
|
rdobuilder |
ab07ea |
- Relax h11 dependency
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.3-2
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Tue Dec 07 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.14.3-1
|
|
rdobuilder |
ab07ea |
- Update to latest upstream release 0.14.3 (closes rhbz#2022391)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Tue Dec 07 2021 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.13.7-2
|
|
rdobuilder |
ab07ea |
- Enable tests
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Tue Sep 21 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.13.7-1
|
|
rdobuilder |
ab07ea |
- Update to latest upstream release 0.13.7 (closes rhbz#2003602)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.13.6-1
|
|
rdobuilder |
ab07ea |
- * Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.13.6-1 -
|
|
rdobuilder |
ab07ea |
Update to latest upstream release 0.13.6 (rhbz#1952056)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-3
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.12.3-2
|
|
rdobuilder |
ab07ea |
- Rebuilt for Python 3.10
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Jan 29 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.3-1
|
|
rdobuilder |
ab07ea |
- * Fri Jan 29 2021 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.3-1 -
|
|
rdobuilder |
ab07ea |
Update to latest upstream release 0.12.2 (#1921813)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-3
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Mon Nov 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.2-2
|
|
rdobuilder |
ab07ea |
- Add bugs to changelog
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Mon Nov 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.2-1
|
|
rdobuilder |
ab07ea |
- * Mon Nov 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.2-1 -
|
|
rdobuilder |
ab07ea |
Enable dependency generator - Update to latest upstream release 0.12.2
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Sun Nov 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.12.1-1
|
|
rdobuilder |
ab07ea |
- * Sun Nov 08 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.16.0-2 -
|
|
rdobuilder |
ab07ea |
Add LICENSE file (#1885754)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Fri Oct 09 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.12.0-1
|
|
rdobuilder |
ab07ea |
- 0.12.0
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Tue Sep 29 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.11.1-1
|
|
rdobuilder |
ab07ea |
- * Wed Sep 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.11.1-1 -
|
|
rdobuilder |
ab07ea |
Update to latest upstream release 0.11.1 (#1883308)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Wed Sep 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.11.0-1
|
|
rdobuilder |
ab07ea |
- * Wed Sep 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.11.0-1 -
|
|
rdobuilder |
ab07ea |
Update to latest upstream release 0.11.0 (#1881374)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.10.2-1
|
|
rdobuilder |
ab07ea |
- * Thu Sep 03 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.10.2-1 -
|
|
rdobuilder |
ab07ea |
Update to latest upstream release 0.10.2 (rhbz#1875285)
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
rdobuilder |
ab07ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
ab07ea |
|
|
rdobuilder |
ab07ea |
* Sat Jun 27 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-1
|
|
rdobuilder |
ab07ea |
- * Fri Jun 05 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.9.1-1 -
|
|
rdobuilder |
ab07ea |
Initial package for Fedora
|