summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-01 19:09:57 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-02 12:47:12 +0100
commitc0b4061d1ac772e47b97f8bcea404d9f69144d97 (patch)
treeb6a382970b63ad9d125fe0eb783bae1fa19c68de /dev-python/six
parentdev-python/pbr: Fix sandbox failures during test (diff)
downloadgentoo-c0b4061d1ac772e47b97f8bcea404d9f69144d97.tar.gz
gentoo-c0b4061d1ac772e47b97f8bcea404d9f69144d97.tar.bz2
gentoo-c0b4061d1ac772e47b97f8bcea404d9f69144d97.zip
dev-python/six: Restrict failing tests
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/six')
-rw-r--r--dev-python/six/six-1.10.0.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/six/six-1.10.0.ebuild b/dev-python/six/six-1.10.0.ebuild
index 465102afe7fe..943c0f6c935f 100644
--- a/dev-python/six/six-1.10.0.ebuild
+++ b/dev-python/six/six-1.10.0.ebuild
@@ -26,6 +26,16 @@ PATCHES=(
"${FILESDIR}"/1.9.0-mapping.patch
)
+python_prepare_all() {
+ # https://bitbucket.org/gutworth/six/issues/139/
+ sed \
+ -e 's:test_assertCountEqual:_&:g' \
+ -e 's:test_assertRegex:_&:g' \
+ -e 's:test_assertRaisesRegex:_&:g' \
+ -i test_six.py || die
+ distutils-r1_python_prepare_all
+}
+
python_compile_all() {
use doc && emake -C documentation html
}