1 |
commit: c0b4061d1ac772e47b97f8bcea404d9f69144d97 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 1 18:09:57 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 2 11:47:12 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0b4061d |
7 |
|
8 |
dev-python/six: Restrict failing tests |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/six/six-1.10.0.ebuild | 10 ++++++++++ |
14 |
1 file changed, 10 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/six/six-1.10.0.ebuild b/dev-python/six/six-1.10.0.ebuild |
17 |
index 465102a..943c0f6 100644 |
18 |
--- a/dev-python/six/six-1.10.0.ebuild |
19 |
+++ b/dev-python/six/six-1.10.0.ebuild |
20 |
@@ -26,6 +26,16 @@ PATCHES=( |
21 |
"${FILESDIR}"/1.9.0-mapping.patch |
22 |
) |
23 |
|
24 |
+python_prepare_all() { |
25 |
+ # https://bitbucket.org/gutworth/six/issues/139/ |
26 |
+ sed \ |
27 |
+ -e 's:test_assertCountEqual:_&:g' \ |
28 |
+ -e 's:test_assertRegex:_&:g' \ |
29 |
+ -e 's:test_assertRaisesRegex:_&:g' \ |
30 |
+ -i test_six.py || die |
31 |
+ distutils-r1_python_prepare_all |
32 |
+} |
33 |
+ |
34 |
python_compile_all() { |
35 |
use doc && emake -C documentation html |
36 |
} |