commit:     5da5883bc9a2c0781bda69c8c73c1f05fdd9a56e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 18:09:13 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 18:09:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da5883b

dev-python/asttokens: strip dev-python/wheel 'dep'

We don't actually build the wheel, so strip
it out of setup.cfg to avoid build failures
where it's not on the system.

Closes: https://bugs.gentoo.org/741692
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/asttokens/asttokens-2.0.4.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/asttokens/asttokens-2.0.4.ebuild 
b/dev-python/asttokens/asttokens-2.0.4.ebuild
index 1cb502acd19..ee9e23b9543 100644
--- a/dev-python/asttokens/asttokens-2.0.4.ebuild
+++ b/dev-python/asttokens/asttokens-2.0.4.ebuild
@@ -28,6 +28,13 @@ distutils_enable_tests pytest
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
 
+src_prepare() {
+       # Kill off useless wheel dep
+       sed -i -e 's/wheel; //' setup.cfg || die
+
+       distutils-r1_src_prepare
+}
+
 python_test() {
        local deselect=()
        [[ ${EPYTHON} == python3.9 ]] && deselect+=(

Reply via email to