commit:     56873044c0ad3a6bb1cad4819d430b73ac04fc18
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 19 12:51:08 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 13:13:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56873044

dev-python/pysvn: Make it build again

A recent update of distutils-r1 (commit 67f008f6acc0?) broke this:
 * ERROR: dev-python/pysvn-1.9.22-r1::gentoo failed (compile phase):
 *   No wheel installed in python_compile(), did you call 
distutils-r1_python_compile?

Generally, this package doesn't seem to play well with that eclass,
and a more thorough fix by somebody with better knowledge of Python's
build intricacies (and the convoluted eclass code) may be needed.

In any case, it fixes building of the package for now, and its only
reverse dependency dev-vcs/svneverever appears to work fine.

Closes: https://bugs.gentoo.org/953830
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-python/pysvn/pysvn-1.9.22-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pysvn/pysvn-1.9.22-r1.ebuild 
b/dev-python/pysvn/pysvn-1.9.22-r1.ebuild
index ce1efb8e1c39..4e8e6a558b43 100644
--- a/dev-python/pysvn/pysvn-1.9.22-r1.ebuild
+++ b/dev-python/pysvn/pysvn-1.9.22-r1.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
-DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_USE_PEP517=no
+DISTUTILS_EXT=1
 
 inherit distutils-r1 toolchain-funcs
 

Reply via email to