dev-python/aiohttp: support newer chardet version

Closes: https://github.com/gentoo/gentoo/pull/18598
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2021-01-16 12:56:22 -08:00
committed by Zac Medico
parent 730592e835
commit 46e10fb955
4 changed files with 18 additions and 2 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -140,6 +140,10 @@ python_prepare_all() {
sed -e 's:test_proxy_https_bad_response:_&:' \
-i tests/test_proxy_functional.py || die
# newer chardet works too
sed -e 's|chardet>=2.0,<4.0|chardet>=2.0|' \
-i setup.py aiohttp.egg-info/requires.txt || die
distutils-r1_python_prepare_all
}
+5 -1
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -70,6 +70,10 @@ python_prepare_all() {
sed -e 's:test_mark_formdata_as_processed:_&:' \
-i tests/test_formdata.py || die
# newer chardet works too
sed -e 's|chardet>=2.0,<4.0|chardet>=2.0|' \
-i setup.py aiohttp.egg-info/requires.txt || die
# takes a very long time, then fails
rm tests/test_pytest_plugin.py || die
@@ -71,6 +71,10 @@ python_prepare_all() {
sed -e 's:test_mark_formdata_as_processed:_&:' \
-i tests/test_formdata.py || die
# newer chardet works too
sed -e 's|chardet>=2.0,<4.0|chardet>=2.0|' \
-i setup.py aiohttp.egg-info/requires.txt || die
# takes a very long time, then fails
rm tests/test_pytest_plugin.py || die
+4
View File
@@ -71,6 +71,10 @@ python_prepare_all() {
sed -e 's:test_mark_formdata_as_processed:_&:' \
-i tests/test_formdata.py || die
# newer chardet works too
sed -e 's|chardet>=2.0,<4.0|chardet>=2.0|' \
-i setup.py aiohttp.egg-info/requires.txt || die
# takes a very long time, then fails
rm tests/test_pytest_plugin.py || die