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 CB3FC158020 for ; Fri, 28 Oct 2022 17:52:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8A39E087A; Fri, 28 Oct 2022 17:51:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 A25C3E0874 for ; Fri, 28 Oct 2022 17:51:18 +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 2/6] scons-utils.eclass: Use python_has_version Date: Fri, 28 Oct 2022 19:51:07 +0200 Message-Id: <20221028175111.5064-3-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: 7a9471d7-f1c3-4e20-8f53-cb03d67ae224 X-Archives-Hash: 688de55ff23360707a96b26053456849 Signed-off-by: Michał Górny --- eclass/scons-utils.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass index ef26b564fb8c..78a9958ec422 100644 --- a/eclass/scons-utils.eclass +++ b/eclass/scons-utils.eclass @@ -102,7 +102,7 @@ if [[ ${_PYTHON_ANY_R1} ]]; then BDEPEND="$(python_gen_any_dep "${SCONS_DEPEND}[\${PYTHON_USEDEP}]")" scons-utils_python_check_deps() { - has_version "${SCONS_DEPEND}[${PYTHON_USEDEP}]" + python_has_version "${SCONS_DEPEND}[${PYTHON_USEDEP}]" } python_check_deps() { scons-utils_python_check_deps; } elif [[ ${_PYTHON_SINGLE_R1} ]]; then -- 2.38.1