Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonrpclib/
Date: Sat, 30 Jan 2021 15:17:35
Message-Id: 1612019846.5ecf3085933898aa7fd508b4e7bd02505416298c.conikost@gentoo
1 commit: 5ecf3085933898aa7fd508b4e7bd02505416298c
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 15:17:08 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 15:17:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ecf3085
7
8 dev-python/jsonrpclib: add python3_9 support (live)
9
10 Bug: https://bugs.gentoo.org/767031
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 dev-python/jsonrpclib/jsonrpclib-9999.ebuild | 12 +++---------
15 1 file changed, 3 insertions(+), 9 deletions(-)
16
17 diff --git a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild
18 index ec15474a092..85ff885aecd 100644
19 --- a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild
20 +++ b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild
21 @@ -1,8 +1,8 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 -PYTHON_COMPAT=( python3_{6,7} )
28 +PYTHON_COMPAT=( python3_{6..9} )
29
30 inherit distutils-r1
31
32 @@ -19,13 +19,7 @@ HOMEPAGE="https://github.com/tcalmant/jsonrpclib"
33
34 LICENSE="Apache-2.0"
35 SLOT="0"
36 -IUSE="test"
37 -RESTRICT="!test? ( test )"
38
39 RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
40 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
41 - test? ( ${RDEPEND} )"
42
43 -python_test() {
44 - esetup.py test
45 -}
46 +distutils_enable_tests setup.py