1 |
commit: 5c7bec4e0f099af0368b307f08bdca2b5b5d7cc1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 5 22:11:02 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 5 22:54:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c7bec4e |
7 |
|
8 |
dev-python/subunit: Eliminate implicit dep on unittest2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/subunit/subunit-1.4.0.ebuild | 6 +++++- |
13 |
1 file changed, 5 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-python/subunit/subunit-1.4.0.ebuild b/dev-python/subunit/subunit-1.4.0.ebuild |
16 |
index ad4beecffb5..28446871136 100644 |
17 |
--- a/dev-python/subunit/subunit-1.4.0.ebuild |
18 |
+++ b/dev-python/subunit/subunit-1.4.0.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
24 |
+PYTHON_COMPAT=( python3_{8..9} pypy3 ) |
25 |
|
26 |
inherit distutils-r1 multilib-minimal autotools |
27 |
|
28 |
@@ -48,6 +48,10 @@ src_prepare() { |
29 |
sed -i -e 's:test_add_tag:_&:' \ |
30 |
python/subunit/tests/test_subunit_tags.py || die |
31 |
|
32 |
+ # eliminate unittest2 |
33 |
+ sed -i -e 's:unittest2 as ::' \ |
34 |
+ python/subunit/tests/test_test_protocol.py || die |
35 |
+ |
36 |
distutils-r1_src_prepare |
37 |
eautoreconf |
38 |
multilib_copy_sources |