commit:     2c3538475e38700f080333f9bcc50748036b7055
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Mar 13 19:05:26 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 21:04:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c353847

media-sound/audiotools: work around broken parallel building

Because setuptools cannot handle two extensions that build the source
code, and races.

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

 media-sound/audiotools/audiotools-3.1.1-r2.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/media-sound/audiotools/audiotools-3.1.1-r2.ebuild 
b/media-sound/audiotools/audiotools-3.1.1-r2.ebuild
index 3d93d632d29e..02b83872ef6f 100644
--- a/media-sound/audiotools/audiotools-3.1.1-r2.ebuild
+++ b/media-sound/audiotools/audiotools-3.1.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -82,6 +82,12 @@ python_compile_all() {
        emake -C docs
 }
 
+python_compile() {
+       # setuptools is broken with parallel builds
+       local MAKEOPTS=-j1
+       distutils-r1_python_compile
+}
+
 python_test() {
        cd test || die
        "${PYTHON}" test.py || die

Reply via email to