From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A94FA138334 for ; Tue, 30 Jul 2019 07:24:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AFB7E0833; Tue, 30 Jul 2019 07:24:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 104F0E0833 for ; Tue, 30 Jul 2019 07:24:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2905C348FB2 for ; Tue, 30 Jul 2019 07:24:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A215748 for ; Tue, 30 Jul 2019 07:24:51 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1564471487.c81f64268832c3812f97569de766b64b21836344.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonrpclib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jsonrpclib/jsonrpclib-9999.ebuild X-VCS-Directories: dev-python/jsonrpclib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c81f64268832c3812f97569de766b64b21836344 X-VCS-Branch: master Date: Tue, 30 Jul 2019 07:24:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: df043ac5-e539-4a81-85cc-676eeb40c7e1 X-Archives-Hash: d20645e2debb268864e2c3353ede5efd commit: c81f64268832c3812f97569de766b64b21836344 Author: Michał Górny gentoo org> AuthorDate: Tue Jul 30 07:22:13 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 30 07:24:47 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81f6426 dev-python/jsonrpclib: Sync -9999 Signed-off-by: Michał Górny gentoo.org> dev-python/jsonrpclib/jsonrpclib-9999.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild index 8744005ec43..c7b359ea537 100644 --- a/dev-python/jsonrpclib/jsonrpclib-9999.ebuild +++ b/dev-python/jsonrpclib/jsonrpclib-9999.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" -PYTHON_COMPAT=( python2_7 python3_{5,6} ) +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) inherit distutils-r1 @@ -19,12 +19,13 @@ HOMEPAGE="https://github.com/tcalmant/jsonrpclib" LICENSE="Apache-2.0" SLOT="0" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" -DEPEND="" -RDEPEND="${DEPEND} - dev-python/simplejson" +RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" python_test() { - esetup.py test || die "tests failed with ${EPYTHON}" + esetup.py test }