From af1bb808fd471109fcd920aceec208ac55c5c578 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Dec 2021 15:28:25 +0100 Subject: [PATCH] Update to latest upstream release 3.8.1 --- .gitignore | 2 ++ chardet4.patch | 30 ------------------------------ python-aiohttp.spec | 25 ++++++++++++++----------- sources | 2 +- 4 files changed, 17 insertions(+), 42 deletions(-) delete mode 100644 chardet4.patch diff --git a/.gitignore b/.gitignore index 260038c..383edc5 100644 --- a/.gitignore +++ b/.gitignore @@ -69,3 +69,5 @@ /aiohttp-3.7.2.tar.gz /aiohttp-3.7.3.tar.gz /aiohttp-3.7.4.tar.gz +/aiohttp-3.8.0.tar.gz +/aiohttp-3.8.1.tar.gz diff --git a/chardet4.patch b/chardet4.patch deleted file mode 100644 index 62d5c11..0000000 --- a/chardet4.patch +++ /dev/null @@ -1,30 +0,0 @@ -From b0ed732d0a637e43c72bb1a777d02776cde37376 Mon Sep 17 00:00:00 2001 -From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> -Date: Fri, 11 Dec 2020 10:24:17 +0200 -Subject: [PATCH] Bump chardet from 3.0.4 to 4.0.0 (#5333) - -Bumps [chardet](https://github.com/chardet/chardet) from 3.0.4 to 4.0.0. -- [Release notes](https://github.com/chardet/chardet/releases) -- [Commits](https://github.com/chardet/chardet/compare/3.0.4...4.0.0) - -Signed-off-by: dependabot[bot] - -Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ---- - requirements/base.txt | 2 +- - setup.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/setup.py b/setup.py -index a79e473..3208bcd 100644 ---- a/setup.py -+++ b/setup.py -@@ -65,7 +65,7 @@ except IndexError: - - install_requires = [ - "attrs>=17.3.0", -- "chardet>=2.0,<4.0", -+ "chardet>=2.0,<5.0", - "multidict>=4.5,<7.0", - "async_timeout>=3.0,<4.0", - "yarl>=1.0,<2.0", diff --git a/python-aiohttp.spec b/python-aiohttp.spec index dc0cf4a..f9fffa1 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -2,22 +2,18 @@ %global debug_package %{nil} Name: python-%{srcname} -Version: 3.7.4 -Release: 3%{?dist} +Version: 3.8.1 +Release: 1%{?dist} Summary: Python HTTP client/server for asyncio License: ASL 2.0 URL: https://github.com/aio-libs/aiohttp -Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz -# Unbundle http-parser -Patch0: unbundle-http-parser.patch - -# Allow chardet 4+, merged upstream -# https://github.com/aio-libs/aiohttp/commit/b0ed732d0a -Patch1: chardet4.patch +Source0: %{pypi_source} BuildRequires: gcc -BuildRequires: http-parser-devel + +# Replacement for http-parser +Provides: bundled(llhttp) # EPEL8 is utilizing the CentOS Devel repo for some packages. However, this is # not available for s390x, so exclude it. @@ -56,12 +52,19 @@ with middlewares and pluggable routing. %py3_install %files -n python3-%{srcname} -%doc CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst +%doc CHANGES.rst CONTRIBUTORS.txt README.rst %license LICENSE.txt %{python3_sitearch}/%{srcname}-*.egg-info/ %{python3_sitearch}/%{srcname}/ +%exclude %{python3_sitearch}/examples/ %changelog +* Wed Dec 01 2021 Fabian Affolter - 3.8.1-1 +- Update to latest upstream release 3.8.1 + +* Thu Nov 25 2021 Fabian Affolter - 3.8.0-1 +- Update to latest upstream release 3.8.0 + * Fri Jul 23 2021 Fedora Release Engineering - 3.7.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 44d3e7b..22b71b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (aiohttp-3.7.4.tar.gz) = 49eff433e70cf1e60bf6c0c8f14d13a499f3d9ff175fb4159b5690055a62ef6c122791c28ca455399de07b5b76c1aa5b6da5d1502baed67c7742db86af0adc3d +SHA512 (aiohttp-3.8.1.tar.gz) = 3611549393e50c8d30426aee9ddd23794a71ddefe4384eb549049b93e452fafb38de7ad900737213b61fbe717bd85035a780c1622593eae250328f17d484a0a7