Groups | Search | Server Info | Login | Register


Groups > linux.gentoo.dev > #70527

[gentoo-dev] [PATCH 2/3] python-utils-r1.eclass: Use get_makeopts_jobs

From Michał Górny <mgorny@gentoo.org>
Newsgroups linux.gentoo.dev
Subject [gentoo-dev] [PATCH 2/3] python-utils-r1.eclass: Use get_makeopts_jobs
Date 2026-05-09 15:10 +0200
Message-ID <MSPBn-3Rbc-13@gated-at.bofh.it> (permalink)
References <MSPBn-3Rbc-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 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+=(

Back to linux.gentoo.dev | Previous | NextPrevious in thread | Find similar


Thread

[gentoo-dev] [PATCH 1/3] python-utils-r1.eclass: Automatically enable '-p jobserver' Michał Górny <mgorny@gentoo.org> - 2026-05-09 15:10 +0200
  [gentoo-dev] [PATCH 2/3] python-utils-r1.eclass: Use get_makeopts_jobs Michał Górny <mgorny@gentoo.org> - 2026-05-09 15:10 +0200

csiph-web