commit:     7028a70b37bd258e7db4429445bcabd1e3fe6cc2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May  8 04:00:51 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May  8 05:09:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7028a70b

dev-python/wxpython: Strip requests build dep

Closes: https://bugs.gentoo.org/955593
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/wxpython/wxpython-4.2.3-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/wxpython/wxpython-4.2.3-r1.ebuild 
b/dev-python/wxpython/wxpython-4.2.3-r1.ebuild
index d6cfd1105668..a9fa8d1b7d72 100644
--- a/dev-python/wxpython/wxpython-4.2.3-r1.ebuild
+++ b/dev-python/wxpython/wxpython-4.2.3-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 PYPI_NO_NORMALIZE=1
 PYPI_PN="wxPython"
 WX_GTK_VER="3.2-gtk3"
@@ -79,6 +79,10 @@ python_prepare_all() {
        # sigh
        sed -i -e '/from buildtools/i\
 sys.path.insert(0, ".")' setup.py || die
+
+       # sigh, used only when fetching things implicitly which we definitely
+       # don't want; https://bugs.gentoo.org/955593
+       sed -i -e '/requests/d' build.py || die
 }
 
 src_configure() {

Reply via email to