commit:     f69cc9a10199ebd0c253f7af6534ca8e309bca1c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May  5 18:18:59 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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}"
-}

Reply via email to