[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH 5/6] scons-utils.eclass: Default SCONS_MIN_VERSION to current stable
From: Michał Górny <mgorny () gentoo ! org>
Date: 2022-10-28 17:51:10
Message-ID: 20221028175111.5064-6-mgorny () gentoo ! org
[Download RAW message or body]
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
eclass/scons-utils.eclass | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
index b8e3332a1263..cbe92f6fc385 100644
--- a/eclass/scons-utils.eclass
+++ b/eclass/scons-utils.eclass
@@ -64,6 +64,7 @@
# @DEFAULT_UNSET
# @DESCRIPTION:
# The minimal version of SCons required for the build to work.
+: "${SCONS_MIN_VERSION:=4.4.0}"
# @ECLASS_VARIABLE: SCONSOPTS
# @USER_VARIABLE
@@ -92,11 +93,7 @@ inherit multiprocessing
# -- ebuild variables setup --
-if [[ -n ${SCONS_MIN_VERSION} ]]; then
- SCONS_DEPEND=">=dev-util/scons-${SCONS_MIN_VERSION}"
-else
- SCONS_DEPEND="dev-util/scons"
-fi
+SCONS_DEPEND=">=dev-util/scons-${SCONS_MIN_VERSION}"
if [[ ${_PYTHON_ANY_R1} ]]; then
# when using python-any-r1, use any-of dep API
--
2.38.1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic