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 20F45138359 for ; Sun, 22 Nov 2020 08:23:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D709E041F; Sun, 22 Nov 2020 08:23:00 +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 55A2CE041F for ; Sun, 22 Nov 2020 08:23:00 +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 BAC7D340E3D for ; Sun, 22 Nov 2020 08:22:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08967435 for ; Sun, 22 Nov 2020 08:22:57 +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: <1606033357.300cbb5d658c2ab37a86c0e889954ac0ba704b55.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-utils/python-utils-2.3.0.ebuild X-VCS-Directories: dev-python/python-utils/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 300cbb5d658c2ab37a86c0e889954ac0ba704b55 X-VCS-Branch: master Date: Sun, 22 Nov 2020 08:22:57 +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: 3b91b082-7c9c-4ffb-8be3-ae3a4a7a6c14 X-Archives-Hash: 6824d63318256743efa80ede8aaeb06b commit: 300cbb5d658c2ab37a86c0e889954ac0ba704b55 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 21 21:59:28 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 22 08:22:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300cbb5d dev-python/python-utils: Port up to py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/python-utils/python-utils-2.3.0.ebuild | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/dev-python/python-utils/python-utils-2.3.0.ebuild b/dev-python/python-utils/python-utils-2.3.0.ebuild index 24e371d90eb..1e71d600470 100644 --- a/dev-python/python-utils/python-utils-2.3.0.ebuild +++ b/dev-python/python-utils/python-utils-2.3.0.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} pypy3) -PATCHES=( "${FILESDIR}"/${P}-pytest-runner.patch ) +PYTHON_COMPAT=( python3_{6..9} pypy3) inherit distutils-r1 @@ -15,17 +14,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/pytest-flakes[${PYTHON_USEDEP}]" +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${P}-pytest-runner.patch ) + +distutils_enable_tests pytest python_prepare_all() { find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed" find . -name '*.pyc' -exec rm -f {} \; || die "Cleaning *.pyc failed" + sed -i -e '/--cov/d' -e '/--pep8/d' -e '/--flakes/d' pytest.ini || die distutils-r1_python_prepare_all } - -python_test() { - pytest -v || die -}