Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to get rid of Python2 (where possible)
Date: Fri, 28 Mar 2014 19:34:39
Message-Id: 1396035274.32114.1@numa-i.igpm.rwth-aachen.de
In Reply to: Re: [gentoo-user] How to get rid of Python2 (where possible) by Tom Wijsman
1 Hi Tom,
2
3 that was really helpful.
4 MANY THANKS,
5 Helmut
6
7 On 03/28/2014 08:29:27 PM, Tom Wijsman wrote:
8 > On Fri, 28 Mar 2014 11:42:59 +0100
9 > Helmut Jarausch <jarausch@××××××××××××××××.de> wrote:
10 >
11 > > sys-apps/portage:0
12 > >
13 > > (sys-apps/portage-9999:0/0::gentoo, ebuild scheduled for merge)
14 > > pulled in by
15 > > sys-apps/portage (Argument)
16 > >
17 > > (sys-apps/portage-9999:0/0::gentoo, installed) pulled in by
18 > >
19 > > sys-apps/portage[**SNIP**] required by
20 > > (app-portage/gentoolkit-dev-0.2.8.3-r1:0/0::gentoo, installed)
21 > >
22 > > sys-apps/portage[**SNIP**] required by
23 > > (app-admin/webapp-config-1.53:0/0::gentoo, installed)
24 > >
25 > > sys-apps/portage[**SNIP**] required by
26 > > (app-portage/flaggie-0.2.1:0/0::gentoo, installed)
27 >
28 > The thing with Python is that it wants 'packages that support Python'
29 > depend on 'Python packages that have the same versions supported'.
30 >
31 > Iotw, from the above example; let's say the reverse dependencies
32 > gentoolkit-dev, webapp-config, flaggie, ... were build with 2.x and
33 > with 3.x, they would want both 2.x and 3.x set on sys-apps/portage.
34 >
35 > If you drop 2.x you can't just rebuild Portage, you'll need to rebuild
36 > the reverse deps as well; such that they no longer want 2.x on
37 > Portage.
38 >
39 > So, when changing PYTHON_TARGET in make.conf; you will want to do
40 > something along the lines of `emerge -auvDN @world --backtrack=9001`,
41 > this to ensure that the reverse dependencies of Portage no longer
42 > depend on Portage having the previously set Python versions.
43 >
44 > Portage will then go ahead and rebuild both Portage and its reverse
45 > dependencies; that way, it doesn't create the conflict you saw.
46 >
47 > (Backtracking 9001 so it is sufficiently high to not cause conflicts)
48 >
49 > --
50 > With kind regards,
51 >
52 > Tom Wijsman (TomWij)
53 > Gentoo Developer
54 >
55 > E-mail address : TomWij@g.o
56 > GPG Public Key : 6D34E57D
57 > GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
58 >
59 >
60 >