1 |
On Thu, 2020-12-17 at 16:50 -0500, Mike Gilbert wrote: |
2 |
> On Thu, Dec 17, 2020 at 4:44 PM Michał Górny <mgorny@g.o> |
3 |
> wrote: |
4 |
> > |
5 |
> > On Thu, 2020-12-17 at 16:30 -0500, Mike Gilbert wrote: |
6 |
> > > Closes: https://bugs.gentoo.org/759433 |
7 |
> > > Signed-off-by: Mike Gilbert <floppym@g.o> |
8 |
> > > --- |
9 |
> > > eclass/meson.eclass | 3 ++- |
10 |
> > > 1 file changed, 2 insertions(+), 1 deletion(-) |
11 |
> > > |
12 |
> > > diff --git a/eclass/meson.eclass b/eclass/meson.eclass |
13 |
> > > index 21338280df33..6296f1dd26e5 100644 |
14 |
> > > --- a/eclass/meson.eclass |
15 |
> > > +++ b/eclass/meson.eclass |
16 |
> > > @@ -126,7 +126,8 @@ EOF |
17 |
> > > # '--unicode-16=𐐷', '--unicode-32=𐤅'] |
18 |
> > > # |
19 |
> > > _meson_env_array() { |
20 |
> > > - python -c "${__MESON_ARRAY_PARSER}" "$@" |
21 |
> > > + local python="$(eselect python show)" |
22 |
> > > + ${python} -c "${__MESON_ARRAY_PARSER}" "$@" |
23 |
> > > } |
24 |
> > > |
25 |
> > > # @FUNCTION: _meson_get_machine_info |
26 |
> > |
27 |
> > You're missing a BDEPEND on app-eselect/eselect-python. |
28 |
> > |
29 |
> > Also, I really don't like these workarounds. It takes a lot of |
30 |
> > effort |
31 |
> > to figure out how to break stuff, so people stop doing awful |
32 |
> > things. |
33 |
> > It's disrespectful to my time when you invent new hacks. Now I'll |
34 |
> > have |
35 |
> > to figure out how to change eselect-python to break it. |
36 |
> |
37 |
> Why is this such an awful thing to do? |
38 |
> |
39 |
> The code should be able to execute with any version of python |
40 |
> currently supported by Gentoo. |
41 |
> |
42 |
> Please don't assume that I'm trying to avoid a proper solution here. |
43 |
> Please suggest a better alternative if you have one. |
44 |
|
45 |
I actually liked installing the script to the system. |
46 |
|
47 |
-- |
48 |
Best regards, |
49 |
Michał Górny |