mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-04 17:07:08 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user