dev-python/numpy: non-parallel build with python3

Affect only non ccache users, and with USE=-lapack
See https://bugs.gentoo.org/show_bug.cgi?id=623790.

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Sébastien Fabbro
2017-07-10 21:32:00 +00:00
parent 94d7724a8e
commit 20864badf6
3 changed files with 4 additions and 166 deletions

View File

@@ -30,8 +30,8 @@ IUSE="doc lapack test"
RDEPEND="lapack? ( virtual/cblas virtual/lapack )"
DEPEND="${RDEPEND}
app-arch/unzip
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( app-arch/unzip )
lapack? ( virtual/pkgconfig )
test? ( >=dev-python/nose-1.0[${PYTHON_USEDEP}] )"
@@ -127,8 +127,10 @@ python_prepare_all() {
}
python_compile() {
local python_makeopts_jobs=""
python_is_python3 || python_makeopts_jobs="-j $(makeopts_jobs)"
distutils-r1_python_compile \
$(usex python_targets_python3_5 "" "-j $(makeopts_jobs)") \
${python_makeopts_jobs} \
${NUMPY_FCONFIG}
}