[PATCH 2/3] python-utils-r1.eclass: Use get_makeopts_jobs
Michał Górny <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Michał Górny <[email protected]> --- eclass/python-utils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index e7c5ed4ee4d44..6230cba30d92c 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -602,7 +602,7 @@ python_optimize() { # default to sitedir [[ ${#} -eq 0 ]] && set -- "${D}$(python_get_sitedir)" - local jobs=$(makeopts_jobs) + local jobs=$(get_makeopts_jobs) local d for d; do einfo "Optimizing Python modules in ${d#${D}}" @@ -1573,7 +1573,7 @@ epytest() { fi if [[ ${EPYTEST_XDIST} ]]; then - local jobs=${EPYTEST_JOBS:-$(makeopts_jobs)} + local jobs=${EPYTEST_JOBS:-$(get_makeopts_jobs)} if [[ ${jobs} -gt 1 ]]; then if [[ ${PYTEST_PLUGINS} != *xdist.plugin* ]]; then args+=(