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 7A1BE1382C5 for ; Sun, 23 May 2021 13:41:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA001E07DB; Sun, 23 May 2021 13:41:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 89D68E07DB for ; Sun, 23 May 2021 13:41:17 +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 608A4340CCE for ; Sun, 23 May 2021 13:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D747C795 for ; Sun, 23 May 2021 13:41:14 +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: <1621777261.4fd47b56e4178508d3eab68a6a401537c8f437ab.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-shutil/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild X-VCS-Directories: dev-python/pytest-shutil/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4fd47b56e4178508d3eab68a6a401537c8f437ab X-VCS-Branch: master Date: Sun, 23 May 2021 13:41:14 +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: 3a1c97bf-3f77-4d4a-8c57-c71498538cbe X-Archives-Hash: 435a586d0d5760f43f53647019a2e1ec commit: 4fd47b56e4178508d3eab68a6a401537c8f437ab Author: Michał Górny gentoo org> AuthorDate: Sun May 23 13:09:13 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 23 13:41:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd47b56 dev-python/pytest-shutil: Enable python3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild index 7a36fd6f017..cee304ff4f5 100644 --- a/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild +++ b/dev-python/pytest-shutil/pytest-shutil-1.7.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 @@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] @@ -36,15 +34,11 @@ BDEPEND=" dev-python/setuptools-git[${PYTHON_USEDEP}] " +distutils_enable_tests --install setup.py + python_prepare_all() { # keeps trying to install this in tests sed -i 's:path.py::' setup.py || die distutils-r1_python_prepare_all } - -python_test() { - distutils_install_for_testing - - esetup.py test || die "Tests failed under ${EPYTHON}" -}