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 6242C13835A for ; Wed, 5 May 2021 18:20:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90E0EE08A0; Wed, 5 May 2021 18:20:07 +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 797E2E08A0 for ; Wed, 5 May 2021 18:20:07 +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 977EA33E5E4 for ; Wed, 5 May 2021 18:20:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 693CA750 for ; Wed, 5 May 2021 18:20:01 +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: <1620238764.f69cc9a10199ebd0c253f7af6534ca8e309bca1c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wheel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wheel/wheel-0.36.2.ebuild X-VCS-Directories: dev-python/wheel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f69cc9a10199ebd0c253f7af6534ca8e309bca1c X-VCS-Branch: master Date: Wed, 5 May 2021 18:20:01 +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: a8802567-6fc6-4764-96ff-f83ada5c5274 X-Archives-Hash: 3e1eea9e0fe1c541af35d702e458bd6c commit: f69cc9a10199ebd0c253f7af6534ca8e309bca1c Author: Michał Górny gentoo org> AuthorDate: Wed May 5 18:18:59 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 5 18:19:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69cc9a1 dev-python/wheel: Enable python3.10 Signed-off-by: Michał Górny gentoo.org> dev-python/wheel/wheel-0.36.2.ebuild | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/dev-python/wheel/wheel-0.36.2.ebuild b/dev-python/wheel/wheel-0.36.2.ebuild index bbdaa700a3c..bf0cf3f413c 100644 --- a/dev-python/wheel/wheel-0.36.2.ebuild +++ b/dev-python/wheel/wheel-0.36.2.ebuild @@ -3,9 +3,7 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) - +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 DESCRIPTION="A built-package format for Python" @@ -17,7 +15,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -distutils_enable_tests pytest +distutils_enable_tests --install pytest src_prepare() { sed \ @@ -25,14 +23,3 @@ src_prepare() { -i setup.cfg || die distutils-r1_src_prepare } - -python_test() { - if ! python_is_python3; then - # install fails due to unicode in paths - ewarn "Testing is broken with py2.7, please test externally" - return - fi - - distutils_install_for_testing --via-root - pytest -vv || die "Tests failed with ${EPYTHON}" -}