dev-python/matplotlib: Force -j1 building

Closes: https://bugs.gentoo.org/704218
Closes: https://bugs.gentoo.org/704240
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-01-01 12:58:59 +01:00
parent e83193d333
commit cee3e92674

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -210,13 +210,14 @@ python_configure() {
}
wrap_setup() {
local -x MPLSETUPCFG=${BUILD_DIR}/setup.cfg
local MAKEOPTS=-j1
local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg
unset DISPLAY
"$@"
}
python_compile() {
wrap_setup distutils-r1_python_compile -j1 --build-lib="${BUILD_DIR}"/lib
wrap_setup distutils-r1_python_compile --build-lib="${BUILD_DIR}"/lib
}
python_compile_all() {