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 47D9613835B for ; Thu, 4 Mar 2021 04:19:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 134C8E089A; Thu, 4 Mar 2021 04:19: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 6AFB9E0895 for ; Thu, 4 Mar 2021 04:19:54 +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 EE5A7340F6C for ; Thu, 4 Mar 2021 04:19:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15BF4573 for ; Thu, 4 Mar 2021 04:19:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1614827596.78f291f00bdc79454abe4b20faa0b380633f0d8b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flexmock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flexmock/flexmock-0.10.4.ebuild X-VCS-Directories: dev-python/flexmock/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 78f291f00bdc79454abe4b20faa0b380633f0d8b X-VCS-Branch: master Date: Thu, 4 Mar 2021 04:19: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: e275d060-9ca0-434e-9d04-2537720383c2 X-Archives-Hash: 84b26e4e15767be72fbe0e6399f24d33 commit: 78f291f00bdc79454abe4b20faa0b380633f0d8b Author: Sam James gentoo org> AuthorDate: Thu Mar 4 03:13:16 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 4 03:13:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f291f0 dev-python/flexmock: add Python 3.9, modernise Signed-off-by: Sam James gentoo.org> dev-python/flexmock/flexmock-0.10.4.ebuild | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/dev-python/flexmock/flexmock-0.10.4.ebuild b/dev-python/flexmock/flexmock-0.10.4.ebuild index b93e57f3ca2..22c19f0099f 100644 --- a/dev-python/flexmock/flexmock-0.10.4.ebuild +++ b/dev-python/flexmock/flexmock-0.10.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} pypy3 ) +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) inherit distutils-r1 @@ -14,21 +14,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="amd64" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - ) - " -RDEPEND="" +distutils_enable_tests pytest python_install_all() { distutils-r1_python_install_all dodoc -r docs } - -python_test() { - pytest -vv tests || die "pytest failed" -}