From f69cc9a10199ebd0c253f7af6534ca8e309bca1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 5 May 2021 20:18:59 +0200 Subject: [PATCH] dev-python/wheel: Enable python3.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 bbdaa700a3c2c..bf0cf3f413cfd 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}" -}