From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 52EC3158020 for ; Fri, 28 Oct 2022 17:52:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12ED1E08ED; Fri, 28 Oct 2022 17:51:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB906E08C4 for ; Fri, 28 Oct 2022 17:51:21 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 5/6] scons-utils.eclass: Default SCONS_MIN_VERSION to current stable Date: Fri, 28 Oct 2022 19:51:10 +0200 Message-Id: <20221028175111.5064-6-mgorny@gentoo.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221028175111.5064-1-mgorny@gentoo.org> References: <20221028175111.5064-1-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 9619c608-ed3d-40e4-9ff0-108583f72b37 X-Archives-Hash: 042abff4ff911c8d17986dd890ea5c2b Signed-off-by: Michał Górny --- 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