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 78AE0138359 for ; Tue, 17 Nov 2020 14:58:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B772E09B0; Tue, 17 Nov 2020 14:58:48 +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 045CFE097C for ; Tue, 17 Nov 2020 14:58:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 93CD4340F63 for ; Tue, 17 Nov 2020 14:58:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3D763A9 for ; Tue, 17 Nov 2020 14:58:44 +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: <1605624736.b1a84dd3b9fbfa7abcf628c636d2a0ed948545a9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/genson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/genson/genson-1.1.0.ebuild X-VCS-Directories: dev-python/genson/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b1a84dd3b9fbfa7abcf628c636d2a0ed948545a9 X-VCS-Branch: master Date: Tue, 17 Nov 2020 14:58:44 +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: 224416c7-8869-4e92-a1e0-2df7ea32c164 X-Archives-Hash: aef17059f6369518c53c5b64183b55d3 commit: b1a84dd3b9fbfa7abcf628c636d2a0ed948545a9 Author: Michał Górny gentoo org> AuthorDate: Tue Nov 17 14:52:16 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 17 14:52:16 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a84dd3 dev-python/genson: Port up to py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/genson/genson-1.1.0.ebuild | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/dev-python/genson/genson-1.1.0.ebuild b/dev-python/genson/genson-1.1.0.ebuild index b4b5bd5e33e..df79e572b36 100644 --- a/dev-python/genson/genson-1.1.0.ebuild +++ b/dev-python/genson/genson-1.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{5,6,7}) +PYTHON_COMPAT=( python3_{6..9} ) DISTUTILS_USE_SETUPTOOLS=rdepend @@ -17,19 +17,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" - -BDEPEND=" - ${PYTHON_DEPS} - " - -RDEPEND=" - ${PYTHON_DEPS} - " -DEPEND="${RDEPEND} - test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )" - RESTRICT="!test? ( test )" -python_test() { - "${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}" -} +BDEPEND="test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest