commit: 6bd789cac61b61ebf78d6ba5be027a77d9571226
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 17 17:42:15 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 17 17:43:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd789ca
dev-python/jsonrpclib: Port up to py3.9
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild
b/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild
index 3caeeb9a008..5934ddc40bb 100644
--- a/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild
+++ b/dev-python/jsonrpclib/jsonrpclib-0.4.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -19,13 +19,7 @@ HOMEPAGE="https://github.com/tcalmant/jsonrpclib"
LICENSE="Apache-2.0"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( ${RDEPEND} )"
-python_test() {
- esetup.py test
-}
+distutils_enable_tests setup.py