commit: c0b4061d1ac772e47b97f8bcea404d9f69144d97
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 1 18:09:57 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Nov 2 11:47:12 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b4061d
dev-python/six: Restrict failing tests
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/six/six-1.10.0.ebuild | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/dev-python/six/six-1.10.0.ebuild b/dev-python/six/six-1.10.0.ebuild
index 465102a..943c0f6 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
}