public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/3] meson.eclass: use python eselect module in _meson_env_array
@ 2020-12-17 21:30 Mike Gilbert
  2020-12-17 21:30 ` [gentoo-dev] [PATCH 2/3] meson.eclass: make meson_env_array public Mike Gilbert
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mike Gilbert @ 2020-12-17 21:30 UTC (permalink / raw
  To: gentoo-dev; +Cc: williamh, chewi, Mike Gilbert

Closes: https://bugs.gentoo.org/759433
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
 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



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-20 21:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-17 21:30 [gentoo-dev] [PATCH 1/3] meson.eclass: use python eselect module in _meson_env_array Mike Gilbert
2020-12-17 21:30 ` [gentoo-dev] [PATCH 2/3] meson.eclass: make meson_env_array public Mike Gilbert
2020-12-17 21:30 ` [gentoo-dev] [PATCH 3/3] app-emulation/gallium-nine-standalone: update meson_env_array refereneces Mike Gilbert
2020-12-17 21:44 ` [gentoo-dev] [PATCH 1/3] meson.eclass: use python eselect module in _meson_env_array Michał Górny
2020-12-17 21:50   ` Mike Gilbert
2020-12-17 21:58     ` Michał Górny
2020-12-20 19:13       ` William Hubbs
2020-12-20 21:54         ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox