commit:     625ad1fafe34533f72cd5b795780e2e83e36d52b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 13:37:25 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  1 07:30:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625ad1fa

python-utils-r1.eclass: Utilize the new makeopts_jobs default

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/25238
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/python-utils-r1.eclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index a6f5f24c8bdd..7b1bd012a37e 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -631,9 +631,7 @@ python_optimize() {
                debug-print "${FUNCNAME}: using sys.path: ${*/%/;}"
        fi
 
-       local jobs=$(makeopts_jobs "${MAKEOPTS}" INF)
-       [[ ${jobs} == INF ]] && jobs=$(get_nproc)
-
+       local jobs=$(makeopts_jobs)
        local d
        for d; do
                # make sure to get a nice path without //

Reply via email to