Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nose/
Date: Sat, 16 Nov 2019 11:02:04
Message-Id: 1573902064.ab732cf20f58ea846df09d674cee384786395ef0.mgorny@gentoo
1 commit: ab732cf20f58ea846df09d674cee384786395ef0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 16 08:38:33 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 16 11:01:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab732cf2
7
8 dev-python/nose: Enable py3.8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/nose/nose-1.3.7-r4.ebuild | 14 ++++++++++----
13 1 file changed, 10 insertions(+), 4 deletions(-)
14
15 diff --git a/dev-python/nose/nose-1.3.7-r4.ebuild b/dev-python/nose/nose-1.3.7-r4.ebuild
16 index 0784e9e8437..333bd6d07d1 100644
17 --- a/dev-python/nose/nose-1.3.7-r4.ebuild
18 +++ b/dev-python/nose/nose-1.3.7-r4.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=7
22
23 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
24 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
25 PYTHON_REQ_USE="threads(+)"
26
27 inherit distutils-r1
28 @@ -21,16 +21,22 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s
29 IUSE="coverage doc examples test"
30 RESTRICT="!test? ( test )"
31
32 +COVERAGE_IMPLS=( -2 python3_{5,6,7} pypy3 )
33 REQUIRED_USE="
34 + coverage? ( || ( $(python_gen_useflags "${COVERAGE_IMPLS[@]}") ) )
35 doc? ( || ( $(python_gen_useflags 'python2*') ) )"
36
37 RDEPEND="
38 dev-python/setuptools[${PYTHON_USEDEP}]
39 - coverage? ( dev-python/coverage[${PYTHON_USEDEP}] )"
40 + coverage? (
41 + $(python_gen_cond_dep 'dev-python/coverage[${PYTHON_USEDEP}]' \
42 + "${COVERAGE_IMPLS[@]}")
43 + )"
44 DEPEND="${RDEPEND}
45 - doc? ( >=dev-python/sphinx-0.6[${PYTHON_USEDEP}] )
46 + doc? ( >=dev-python/sphinx-0.6[$(python_gen_usedep 'python2*')] )
47 test? (
48 - dev-python/coverage[${PYTHON_USEDEP}]
49 + $(python_gen_cond_dep 'dev-python/coverage[${PYTHON_USEDEP}]' \
50 + "${COVERAGE_IMPLS[@]}")
51 $(python_gen_cond_dep 'dev-python/twisted[${PYTHON_USEDEP}]' python2_7 python3_{5,6})
52 )"