dev-python/pycurl: Disable tests broken by bottle upgrade

Upstream is silly and requires old dev-python/bottle version
for testing.  Instead of harming users and preventing downgrade, let's
disable the few tests that require that.

Closes: https://bugs.gentoo.org/721270
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-05-16 18:11:07 +02:00
parent a34ea67be6
commit 77d56b9d2d

View File

@@ -54,6 +54,8 @@ PATCHES=(
python_prepare_all() {
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
# these tests are broken with newer versions of bottle
sed -e 's:test.*_invalid_utf8:_&:' -i tests/getinfo_test.py || die
distutils-r1_python_prepare_all
}