1 |
commit: 625ad1fafe34533f72cd5b795780e2e83e36d52b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 13:37:25 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 07:30:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=625ad1fa |
7 |
|
8 |
python-utils-r1.eclass: Utilize the new makeopts_jobs default |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/25238 |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
eclass/python-utils-r1.eclass | 4 +--- |
15 |
1 file changed, 1 insertion(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
18 |
index a6f5f24c8bdd..7b1bd012a37e 100644 |
19 |
--- a/eclass/python-utils-r1.eclass |
20 |
+++ b/eclass/python-utils-r1.eclass |
21 |
@@ -631,9 +631,7 @@ python_optimize() { |
22 |
debug-print "${FUNCNAME}: using sys.path: ${*/%/;}" |
23 |
fi |
24 |
|
25 |
- local jobs=$(makeopts_jobs "${MAKEOPTS}" INF) |
26 |
- [[ ${jobs} == INF ]] && jobs=$(get_nproc) |
27 |
- |
28 |
+ local jobs=$(makeopts_jobs) |
29 |
local d |
30 |
for d; do |
31 |
# make sure to get a nice path without // |