Gentoo Archives: gentoo-python

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-python] Python 3 in Gentoo Mike Gilbert <floppym@g.o>