From c8e7b9415cd99dadbbb44d50b8189c40efaa3c5a Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 18:05:29 +0300 Subject: [PATCH] import python-h11-0.14.0-5.el10 --- .gitignore | 1 + .python-h11.metadata | 1 + SPECS/python-h11.spec | 149 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100644 .gitignore create mode 100644 .python-h11.metadata create mode 100644 SPECS/python-h11.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ac631f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/h11-0.14.0.tar.gz diff --git a/.python-h11.metadata b/.python-h11.metadata new file mode 100644 index 0000000..1aae3a9 --- /dev/null +++ b/.python-h11.metadata @@ -0,0 +1 @@ +8a1f457163f390aeb32e5b9ded199937906c9449 SOURCES/h11-0.14.0.tar.gz diff --git a/SPECS/python-h11.spec b/SPECS/python-h11.spec new file mode 100644 index 0000000..5bbc92d --- /dev/null +++ b/SPECS/python-h11.spec @@ -0,0 +1,149 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 5; + 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 _description %{expand: +This is a little HTTP/1.1 library written from scratch in Python, heavily +inspired by hyper-h2. It is a "bring-your-own-I/O" library; h11 contains no IO +code whatsoever. This means you can hook h11 up to your favorite network API, +and that could be anything you want: synchronous, threaded, asynchronous, or +your own implementation of RFC 6214 -- h11 will not judge you. This also means +that h11 is not immediately useful out of the box: it is a toolkit for building +programs that speak HTTP, not something that could directly replace requests or +twisted.web or whatever. But h11 makes it much easier to implement something +like requests or twisted.web.} + +Name: python-h11 +Version: 0.14.0 +Release: %autorelease +Summary: A pure-Python, bring-your-own-I/O implementation of HTTP/1.1 +License: MIT +URL: https://github.com/python-hyper/h11 +Source0: %{pypi_source h11} +BuildArch: noarch + + +%description %{_description} + + +%package -n python3-h11 +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-pytest + + +%description -n python3-h11 %{_description} + + +%prep +%autosetup -n h11-%{version} + + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files h11 + + +%check +%pytest h11 + + +%files -n python3-h11 -f %{pyproject_files} +%doc README.rst + + +%changelog +* Sat Jan 04 2025 Arkady L. Shane - 0.14.0-5 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.14.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.14.0-4 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.14.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Sep 09 2023 Carl George - 0.14.0-1 +- Update to version 0.14.0, resolves rhbz#2129641 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.13.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.13.0-5 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.13.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.13.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.13.0-2 +- Rebuilt for Python 3.11 + +* Tue Mar 01 2022 Carl George - 0.13.0-1 +- Latest upstream rhbz#2042667 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.12.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.12.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.12.0-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.12.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 05 2021 Joel Capitao - 0.12.0-1 +- Update to 0.12.0 (#1868613) + +* Wed Jul 29 2020 Fedora Release Engineering - 0.9.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.9.0-6 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.9.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.9.0-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.9.0-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon May 20 2019 Carl George - 0.9.0-1 +- Latest upstream + +* Sat Feb 02 2019 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Sep 12 2018 Carl George - 0.8.1-1 +- Initial package + +## END: Generated by rpmautospec