Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wheel/
Date: Wed, 05 May 2021 18:20:08
Message-Id: 1620238764.f69cc9a10199ebd0c253f7af6534ca8e309bca1c.mgorny@gentoo
1 commit: f69cc9a10199ebd0c253f7af6534ca8e309bca1c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 5 18:18:59 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 5 18:19:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69cc9a1
7
8 dev-python/wheel: Enable python3.10
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wheel/wheel-0.36.2.ebuild | 17 ++---------------
13 1 file changed, 2 insertions(+), 15 deletions(-)
14
15 diff --git a/dev-python/wheel/wheel-0.36.2.ebuild b/dev-python/wheel/wheel-0.36.2.ebuild
16 index bbdaa700a3c..bf0cf3f413c 100644
17 --- a/dev-python/wheel/wheel-0.36.2.ebuild
18 +++ b/dev-python/wheel/wheel-0.36.2.ebuild
19 @@ -3,9 +3,7 @@
20
21 EAPI=7
22
23 -DISTUTILS_USE_SETUPTOOLS=rdepend
24 -PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
25 -
26 +PYTHON_COMPAT=( python3_{7..10} pypy3 )
27 inherit distutils-r1
28
29 DESCRIPTION="A built-package format for Python"
30 @@ -17,7 +15,7 @@ LICENSE="MIT"
31 SLOT="0"
32 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
33
34 -distutils_enable_tests pytest
35 +distutils_enable_tests --install pytest
36
37 src_prepare() {
38 sed \
39 @@ -25,14 +23,3 @@ src_prepare() {
40 -i setup.cfg || die
41 distutils-r1_src_prepare
42 }
43 -
44 -python_test() {
45 - if ! python_is_python3; then
46 - # install fails due to unicode in paths
47 - ewarn "Testing is broken with py2.7, please test externally"
48 - return
49 - fi
50 -
51 - distutils_install_for_testing --via-root
52 - pytest -vv || die "Tests failed with ${EPYTHON}"
53 -}