1 |
commit: c81f64268832c3812f97569de766b64b21836344 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 30 07:22:13 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 30 07:24:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81f6426 |
7 |
|
8 |
dev-python/jsonrpclib: Sync -9999 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jsonrpclib/jsonrpclib-9999.ebuild | 15 ++++++++------- |
13 |
1 file changed, 8 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild |
16 |
index 8744005ec43..c7b359ea537 100644 |
17 |
--- a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild |
18 |
+++ b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
# Copyright 1999-2019 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI="6" |
24 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
25 |
+EAPI=7 |
26 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
27 |
|
28 |
inherit distutils-r1 |
29 |
|
30 |
@@ -19,12 +19,13 @@ HOMEPAGE="https://github.com/tcalmant/jsonrpclib" |
31 |
|
32 |
LICENSE="Apache-2.0" |
33 |
SLOT="0" |
34 |
-IUSE="" |
35 |
+IUSE="test" |
36 |
+RESTRICT="!test? ( test )" |
37 |
|
38 |
-DEPEND="" |
39 |
-RDEPEND="${DEPEND} |
40 |
- dev-python/simplejson" |
41 |
+RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" |
42 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
43 |
+ test? ( ${RDEPEND} )" |
44 |
|
45 |
python_test() { |
46 |
- esetup.py test || die "tests failed with ${EPYTHON}" |
47 |
+ esetup.py test |
48 |
} |