[arch-commits] Commit in python-aiohttp/trunk (2 files)

Maxime Gauduin alucryd at archlinux.org
Wed Apr 14 16:12:14 UTC 2021


    Date: Wednesday, April 14, 2021 @ 16:12:14
  Author: alucryd
Revision: 918473

upgpkg: python-aiohttp 3.7.4.post0-1

Modified:
  python-aiohttp/trunk/PKGBUILD
Deleted:
  python-aiohttp/trunk/python-aiohttp-chardet-4.patch

--------------------------------+
 PKGBUILD                       |   13 ++++++-------
 python-aiohttp-chardet-4.patch |   30 ------------------------------
 2 files changed, 6 insertions(+), 37 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-14 16:11:43 UTC (rev 918472)
+++ PKGBUILD	2021-04-14 16:12:14 UTC (rev 918473)
@@ -3,8 +3,8 @@
 
 _pkgname=aiohttp
 pkgname=python-aiohttp
-_gitcommit=0a26acc1de9e1b0244456b7881ec16ba8bb64fc3
-pkgver=3.7.4
+_gitcommit=184274d9b28bbfa06ac60e48bf286a761c6a6cb0
+pkgver=3.7.4.post0
 pkgrel=1
 pkgdesc='HTTP client/server for asyncio'
 url='https://aiohttp.readthedocs.io'
@@ -24,13 +24,11 @@
 source=(${pkgname}::"git+https://github.com/aio-libs/aiohttp#commit=${_gitcommit}"
         git+https://github.com/nodejs/http-parser
         python-aiohttp-release-resources-pytest.patch
-        python-aiohttp-brotli.patch
-        python-aiohttp-chardet-4.patch)
+        python-aiohttp-brotli.patch)
 sha512sums=('SKIP'
             'SKIP'
             '42db1eb1173f34351a76fcd0be28dbfa1f18be5da4bc0e75adfb4be666e26acc9fbca11a83506f4eee729122110f98512133cdc0a46615f75ee2846645f4fb7a'
-            '3bfc6511d0a1a54e20c5b10457041621960da869a752a0b751a424db357d4153578ff1a5e9268f27e4badb2ac01f1c76d23f0058f76b9dd44063f56a046712d8'
-            '81ea582a957081ee560fa2ac789f0cb395e85c8407659f27b4088054c819d8390945edbc4c4571e65a8fac19457782290d4779a262470e35a4acb4c212bba44a')
+            '3bfc6511d0a1a54e20c5b10457041621960da869a752a0b751a424db357d4153578ff1a5e9268f27e4badb2ac01f1c76d23f0058f76b9dd44063f56a046712d8')
 
 pkgver() {
   cd ${pkgname}
@@ -42,9 +40,10 @@
   git submodule init
   git config submodule."vendor/http-parser".url "${srcdir}/http-parser"
   git submodule update --recursive
+  # fix tests
+  git revert -n 942c1b801f0ce4b5cd0103be58eb0359edf698a2
   patch -p1 -i ../python-aiohttp-release-resources-pytest.patch
   patch -p1 -i ../python-aiohttp-brotli.patch
-  patch -p1 -i ../python-aiohttp-chardet-4.patch
   sed 's|.install-cython ||' -i Makefile
 }
 

Deleted: python-aiohttp-chardet-4.patch
===================================================================
--- python-aiohttp-chardet-4.patch	2021-04-14 16:11:43 UTC (rev 918472)
+++ python-aiohttp-chardet-4.patch	2021-04-14 16:12:14 UTC (rev 918473)
@@ -1,30 +0,0 @@
-From 0c4e57f350b5129bdc63c529995da7e909d36a36 Mon Sep 17 00:00:00 2001
-From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
-Date: Fri, 11 Dec 2020 10:22:48 +0200
-Subject: [PATCH] Bump chardet from 3.0.4 to 4.0.0 (#5334)
-
-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] <support at github.com>
-
-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 f21681333e..d542f85298 100644
---- a/setup.py
-+++ b/setup.py
-@@ -64,7 +64,7 @@ def build_extension(self, ext):
- 
- install_requires = [
-     "attrs>=17.3.0",
--    "chardet>=2.0,<4.0",
-+    "chardet>=2.0,<5.0",
-     "multidict>=4.5,<7.0",
-     "async_timeout>=4.0.0a3,<5.0",
-     'asynctest==0.13.0; python_version<"3.8"',



More information about the arch-commits mailing list