diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-28 11:55:51 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-15 17:34:05 +0100 |
commit | 0281966f368c92bc4de46c483babc5a20b99fe18 (patch) | |
tree | c5e643b18e9950e0db54845d157f394750817623 /eclass/scons-utils.eclass | |
parent | scons-utils.eclass: Update documentation (diff) | |
download | gentoo-0281966f368c92bc4de46c483babc5a20b99fe18.tar.gz gentoo-0281966f368c92bc4de46c483babc5a20b99fe18.tar.bz2 gentoo-0281966f368c92bc4de46c483babc5a20b99fe18.zip |
scons-utils.eclass: Default SCONS_MIN_VERSION to current stable
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/scons-utils.eclass')
-rw-r--r-- | eclass/scons-utils.eclass | 7 |
1 files 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 |