commit:     02f8a1e85e899ded8c1b150232eb780a3adb49ae
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 28 19:07:58 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 04:09:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f8a1e8

app-accessibility/brltty: fix building python bindings too many times

Although --disable-python-bindings was used in the main build, to defer
building them for the python_foreach, the original use_enable was never
removed. So the python bindings if enabled at all, would always build
twice or more: once for python3, and once for each USE-enabled impl. The
python3 version might not actually work due to dependencies, so the
build might fail. If it did work by *coincidence*, it would be for
whatever the default python-exec is, which may not be what is in
PYTHON_TARGETS.

Bug: https://bugs.gentoo.org/905695
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-accessibility/brltty/{brltty-6.6.ebuild => brltty-6.6-r1.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-accessibility/brltty/brltty-6.6.ebuild 
b/app-accessibility/brltty/brltty-6.6-r1.ebuild
similarity index 99%
rename from app-accessibility/brltty/brltty-6.6.ebuild
rename to app-accessibility/brltty/brltty-6.6-r1.ebuild
index 87ccfd5baaa9..0588c791af36 100644
--- a/app-accessibility/brltty/brltty-6.6.ebuild
+++ b/app-accessibility/brltty/brltty-6.6-r1.ebuild
@@ -135,7 +135,6 @@ src_configure() {
                $(use_enable ocaml ocaml-bindings)
                $(use_with pcm pcm-package)
                $(use_enable policykit polkit)
-               $(use_enable python python-bindings)
                $(use_enable speech speech-support)
                $(use_with systemd service-package)
                $(use_enable tcl tcl-bindings)

Reply via email to