Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/future/
Date: Wed, 29 Apr 2020 04:10:23
Message-Id: 1588133130.0a2b11c56e405d3b70a6e52101f3f3945d1cbfa0.floppym@gentoo
1 commit: 0a2b11c56e405d3b70a6e52101f3f3945d1cbfa0
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 29 04:05:30 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 29 04:05:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2b11c5
7
8 dev-python/future: DISTUTILS_USE_SETUPTOOLS=rdepend
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 dev-python/future/future-0.18.2.ebuild | 15 ++++++---------
13 1 file changed, 6 insertions(+), 9 deletions(-)
14
15 diff --git a/dev-python/future/future-0.18.2.ebuild b/dev-python/future/future-0.18.2.ebuild
16 index 5e88bab0088..15d4b3fa213 100644
17 --- a/dev-python/future/future-0.18.2.ebuild
18 +++ b/dev-python/future/future-0.18.2.ebuild
19 @@ -2,8 +2,8 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=7
23 -
24 PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
25 +DISTUTILS_USE_SETUPTOOLS=rdepend
26
27 inherit distutils-r1
28
29 @@ -16,19 +16,16 @@ SLOT="0"
30 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
31 IUSE="doc"
32
33 -distutils_enable_tests pytest
34 -distutils_enable_sphinx docs \
35 - dev-python/sphinx-bootstrap-theme
36 -
37 # TODO: make numpy unconditional when it supports py3.8
38 -BDEPEND+="
39 - dev-python/setuptools[${PYTHON_USEDEP}]
40 +BDEPEND="
41 test? (
42 - $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \
43 - python{2_7,3_{5,6,7}})
44 + $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' python{2_7,3_{5,6,7}})
45 )
46 "
47
48 +distutils_enable_tests pytest
49 +distutils_enable_sphinx docs dev-python/sphinx-bootstrap-theme
50 +
51 PATCHES=(
52 "${FILESDIR}"/${P}-tests.patch
53 )