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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 88DE51382C5 for ; Thu, 17 Dec 2020 21:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAE2BE09C8; Thu, 17 Dec 2020 21:30:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D422E09B7 for ; Thu, 17 Dec 2020 21:30:26 +0000 (UTC) From: Mike Gilbert To: gentoo-dev@lists.gentoo.org Cc: williamh@gentoo.org, chewi@gentoo.org, Mike Gilbert Subject: [gentoo-dev] [PATCH 1/3] meson.eclass: use python eselect module in _meson_env_array Date: Thu, 17 Dec 2020 16:30:06 -0500 Message-Id: <20201217213008.1831469-1-floppym@gentoo.org> X-Mailer: git-send-email 2.30.0.rc0 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: 2d0cbb93-6565-474d-9b26-9ab63bd1b01a X-Archives-Hash: 9e0b9658a5974f4993f371d91274cfd1 Closes: https://bugs.gentoo.org/759433 Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 21338280df33..6296f1dd26e5 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -126,7 +126,8 @@ EOF # '--unicode-16=𐐷', '--unicode-32=𐤅'] # _meson_env_array() { - python -c "${__MESON_ARRAY_PARSER}" "$@" + local python="$(eselect python show)" + ${python} -c "${__MESON_ARRAY_PARSER}" "$@" } # @FUNCTION: _meson_get_machine_info -- 2.30.0.rc0