Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/asttokens/
Date: Fri, 11 Sep 2020 18:09:31
Message-Id: 1599847762.5da5883bc9a2c0781bda69c8c73c1f05fdd9a56e.sam@gentoo
1 commit: 5da5883bc9a2c0781bda69c8c73c1f05fdd9a56e
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 11 18:09:13 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 11 18:09:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da5883b
7
8 dev-python/asttokens: strip dev-python/wheel 'dep'
9
10 We don't actually build the wheel, so strip
11 it out of setup.cfg to avoid build failures
12 where it's not on the system.
13
14 Closes: https://bugs.gentoo.org/741692
15 Package-Manager: Portage-3.0.4, Repoman-3.0.1
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 dev-python/asttokens/asttokens-2.0.4.ebuild | 7 +++++++
19 1 file changed, 7 insertions(+)
20
21 diff --git a/dev-python/asttokens/asttokens-2.0.4.ebuild b/dev-python/asttokens/asttokens-2.0.4.ebuild
22 index 1cb502acd19..ee9e23b9543 100644
23 --- a/dev-python/asttokens/asttokens-2.0.4.ebuild
24 +++ b/dev-python/asttokens/asttokens-2.0.4.ebuild
25 @@ -28,6 +28,13 @@ distutils_enable_tests pytest
26
27 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
28
29 +src_prepare() {
30 + # Kill off useless wheel dep
31 + sed -i -e 's/wheel; //' setup.cfg || die
32 +
33 + distutils-r1_src_prepare
34 +}
35 +
36 python_test() {
37 local deselect=()
38 [[ ${EPYTHON} == python3.9 ]] && deselect+=(