summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-16 11:09:56 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-16 11:14:49 +0100
commitaddcc56755a54b869f591100c87bf98152e2fd21 (patch)
tree37bd33d6b59f45dfa984720bc1ffaed784af4d6b /dev-python/psutil
parentdev-python/functools32: Set DISTUTILS_USE_SETUPTOOLS, EAPI 7 (diff)
downloadgentoo-addcc56755a54b869f591100c87bf98152e2fd21.tar.gz
gentoo-addcc56755a54b869f591100c87bf98152e2fd21.tar.bz2
gentoo-addcc56755a54b869f591100c87bf98152e2fd21.zip
dev-python/psutil: Force -j1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/psutil')
-rw-r--r--dev-python/psutil/psutil-5.6.7.ebuild6
1 files changed, 6 insertions, 0 deletions
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
+}