commit:     addcc56755a54b869f591100c87bf98152e2fd21
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 10:09:56 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 10:14:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=addcc567

dev-python/psutil: Force -j1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/psutil/psutil-5.6.7.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/psutil/psutil-5.6.7.ebuild 
b/dev-python/psutil/psutil-5.6.7.ebuild
index 4d56ce828c3..35ea4c888d6 100644
--- a/dev-python/psutil/psutil-5.6.7.ebuild
+++ b/dev-python/psutil/psutil-5.6.7.ebuild
@@ -39,3 +39,9 @@ python_test() {
        TRAVIS=1 APPVEYOR=1 "${EPYTHON}" psutil/tests/__main__.py ||
                die "tests failed with ${EPYTHON}"
 }
+
+python_compile() {
+       # force -j1 to avoid .o linking race conditions
+       local MAKEOPTS=-j1
+       distutils-r1_python_compile
+}

Reply via email to