Gentoo Archives: gentoo-dev

From: Davide Pesavento <pesa@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-dev@l.g.o, python@g.o
Subject: Re: [gentoo-dev] [PATCHSET python-utils-r1] python & python-config wrapper cleanup
Date: Sun, 26 Jul 2015 00:17:18
Message-Id: CADfzvvZd_C4XLVJpkXifTNg0CL62QxUmzdLN9J0UYJfBv=L1ig@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCHSET python-utils-r1] python & python-config wrapper cleanup by "Michał Górny"
1 On Sat, Jul 25, 2015 at 2:48 PM, Michał Górny <mgorny@g.o> wrote:
2 > Dnia 2015-07-25, o godz. 14:24:27
3 > Davide Pesavento <pesa@g.o> napisał(a):
4 >
5 >> On Sat, Jul 25, 2015 at 2:03 PM, Michał Górny <mgorny@g.o> wrote:
6 >> > Dnia 2015-07-25, o godz. 13:37:03
7 >> > Davide Pesavento <pesa@g.o> napisał(a):
8 >> >
9 >> >> On Sat, Jul 25, 2015 at 12:37 PM, Michał Górny <mgorny@g.o> wrote:
10 >> >> > While at it, I also added some 'unsupported' wrappers to ban trying to
11 >> >> > use pythonY (accidental fallback to system python) when pythonX is
12 >> >> > selected via wrapper, and changed the exit code for unsupp-scripts.
13 >> >>
14 >> >> Can you clarify the consequences of this change please? e.g. is it
15 >> >> still possible to call "naked" python2 from src_prepare() of a package
16 >> >> using python-r1.eclass, such as dev-python/sip?
17 >> >
18 >> > If you call python_setup and ensure python2 is selected beforehand,
19 >> > yes. Otherwise, you're doing a QA violation and it never were supported.
20 >> >
21 >>
22 >> Funny. I'm pretty sure you suggested the current implementation
23 >> (directly calling python2) when we first switched to
24 >> python-r1.eclass...
25 >
26 > Nope. I'm pretty sure I never suggested or accepted any kind of direct
27 > dev-lang/python dependencies or python[23] calls.
28 >
29
30 Seriously, I'm not blaming you (or anybody else), but please just try
31 to be a little less arrogant and self-righteous in your emails. If you
32 don't believe me, look at your #gentoo-python logs around Jan 21,
33 2013. Also consider that python_setup was only introduced 9 months
34 after the conversion of dev-python/sip.
35
36 Anyway, I guess I have to fix sip-4.9999 then ;)
37
38 Thanks,
39 Davide