From 2c3538475e38700f080333f9bcc50748036b7055 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 13 Mar 2024 15:05:26 -0400 Subject: 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 Signed-off-by: Sam James --- media-sound/audiotools/audiotools-3.1.1-r2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'media-sound') 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 -- cgit v1.2.3-65-gdbad