summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-16 18:11:07 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-16 18:12:47 +0200
commit77d56b9d2d82d112e9b6ac7beab09b0c6e814510 (patch)
treeb1d8246d1b3824bcc82fb73baf4bd9ecf86f162d /dev-python/pycurl
parentdev-libs/glib: Exclude nonsensical and broken libelf dep on Windows (diff)
downloadgentoo-77d56b9d2d82d112e9b6ac7beab09b0c6e814510.tar.gz
gentoo-77d56b9d2d82d112e9b6ac7beab09b0c6e814510.tar.bz2
gentoo-77d56b9d2d82d112e9b6ac7beab09b0c6e814510.zip
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>
Diffstat (limited to 'dev-python/pycurl')
-rw-r--r--dev-python/pycurl/pycurl-7.43.0.5.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/pycurl/pycurl-7.43.0.5.ebuild b/dev-python/pycurl/pycurl-7.43.0.5.ebuild
index 0bdbcb60e901..a299572dfd11 100644
--- a/dev-python/pycurl/pycurl-7.43.0.5.ebuild
+++ b/dev-python/pycurl/pycurl-7.43.0.5.ebuild
@@ -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
}