1 |
commit: b6c096d9f51970568c8ea788f256ae4b39b1eeb4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 5 12:28:02 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 5 12:28:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c096d9 |
7 |
|
8 |
dev-python/nose: Enable python3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/nose/nose-1.3.7-r8.ebuild | 10 ++++++---- |
13 |
1 file changed, 6 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/nose/nose-1.3.7-r8.ebuild b/dev-python/nose/nose-1.3.7-r8.ebuild |
16 |
index 993e38c0599..9ff8d8ae5d0 100644 |
17 |
--- a/dev-python/nose/nose-1.3.7-r8.ebuild |
18 |
+++ b/dev-python/nose/nose-1.3.7-r8.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
24 |
+PYTHON_COMPAT=( python3_{7..10} pypy3 ) |
25 |
PYTHON_REQ_USE="threads(+)" |
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -20,12 +20,14 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~ |
29 |
IUSE="examples test" |
30 |
RESTRICT="!test? ( test )" |
31 |
|
32 |
-DEPEND="${RDEPEND} |
33 |
+BDEPEND=" |
34 |
test? ( |
35 |
- !hppa? ( dev-python/coverage[${PYTHON_USEDEP}] ) |
36 |
+ $(python_gen_cond_dep ' |
37 |
+ !hppa? ( dev-python/coverage[${PYTHON_USEDEP}] ) |
38 |
+ ' python3_{7..9} pypy3) |
39 |
$(python_gen_cond_dep ' |
40 |
dev-python/twisted[${PYTHON_USEDEP}] |
41 |
- ' 'python3*') |
42 |
+ ' python3_{7..9}) |
43 |
)" |
44 |
|
45 |
PATCHES=( |