Gentoo Archives: gentoo-python

From: Mike Gilbert <floppym@g.o>
To: gentoo-python@l.g.o
Subject: Re: [gentoo-python] Python 3 in Gentoo
Date: Sun, 02 Sep 2012 17:54:22
Message-Id: CAJ0EP43XBNvtO0jUOZHn5qAoyY9SrfYJGE2mB8QV4y9=xTDsPA@mail.gmail.com
In Reply to: Re: [gentoo-python] Python 3 in Gentoo by "Michał Górny"
1 On Sun, Sep 2, 2012 at 1:34 PM, Michał Górny <mgorny@g.o> wrote:
2 > On Sun, 2 Sep 2012 13:16:38 -0400
3 > Mike Gilbert <floppym@g.o> wrote:
4 >
5 >> On Sun, Sep 2, 2012 at 8:21 AM, Thomas Sachau <tommy@g.o>
6 >> wrote:
7 >> > Mike Gilbert schrieb:
8 >> >> On Mon, Aug 13, 2012 at 3:38 PM, Dirkjan Ochtman <djc@g.o>
9 >> >> wrote:
10 >> >>> On Mon, Aug 13, 2012 at 9:07 PM, Richard Yao <ryao@g.o>
11 >> >>> wrote:
12 >> >>>>> Does this seem like a viable option? Is anyone going to
13 >> >>>>> volunteer to take it from here?
14 >> >>>>
15 >> >>>> I can try to make time to make these changes this weekend if
16 >> >>>> everyone is fine with that.
17 >> >>>
18 >> >>> I think we should inform gentoo-dev first.
19 >> >>>
20 >> >>
21 >> >> Just in case someone is waiting for me to take some further
22 >> >> actions on this, please don't wait on me. I really don't have the
23 >> >> motivation to carry this plan any further.
24 >> >>
25 >> >> If someone else wants to carry the torch, I am happy to assist.
26 >> >>
27 >> >>
28 >> >
29 >> > Just to get the right summary:
30 >> >
31 >> > The plan is now to replace all dependencies in ebuilds, which have
32 >> > either "dev-lang/python" or something like ">=dev-lang/python-X.Y"
33 >> > to use "virtual/python" instead?
34 >> >
35 >>
36 >> That's right.
37 >>
38 >> > What about versioned dependencies exluding python versions still in
39 >> > the main tree like ">=dev-lang/python-2.7"?
40 >> >
41 >>
42 >> In this case the virtual would not work. Instead, it could be replaced
43 >> with this:
44 >>
45 >> || ( =dev-lang/python-2.7* =dev-lang/python-3* )
46 >>
47 >> Similarly, >=dev-lang/python-2.6 could be replaced with this:
48 >>
49 >> || ( =dev-lang/python-2.7* =dev-lang/python-2.6* =dev-lang/python-3* )
50 >
51 > You could go with virtual/python-2.7, -2.6, -2.5 being an appropriate
52 > minimal version.
53 >
54
55 I gave that idea some thought, but I think it would be a somewhat
56 confusing (it makes my head hurt).
57
58 There are actually a few ways I could see a versioned virtual being
59 implemented; can you articulate exactly what each virtual version
60 would have in RDEPEND and how it would be used in other ebuilds?

Replies

Subject Author
Re: [gentoo-python] Python 3 in Gentoo "Michał Górny" <mgorny@g.o>