Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Subject: Re: [gentoo-python] Alternate solution for 'python', 'python2' and 'pkg-config python' in ebuilds
Date: Fri, 29 Mar 2013 22:37:17
Message-Id: 20130329233803.2ba9f24b@pomiocik.lan
In Reply to: [gentoo-python] Alternate solution for 'python', 'python2' and 'pkg-config python' in ebuilds by "Michał Górny"
1 On Fri, 29 Mar 2013 20:57:02 +0100
2 Michał Górny <mgorny@g.o> wrote:
3
4 > Does this sound like a good solution? Should I run some tests?
5
6 And preceding the warm welcome of the idea, I've prepared a patch
7 for testing. I will send it in reply, as usual.
8
9 The generated tree looks like:
10
11 ├── pypy-c1.9
12 │   ├── bin
13 │   │   ├── 2to3
14 │   │   ├── python -> /usr/bin/pypy-c1.9
15 │   │   ├── python2 -> python
16 │   │   └── python-config
17 │   └── pkgconfig
18 ├── pypy-c2.0
19 │   ├── bin
20 │   │   ├── 2to3
21 │   │   ├── python -> /usr/bin/pypy-c2.0
22 │   │   ├── python2 -> python
23 │   │   └── python-config
24 │   └── pkgconfig
25 ├── python2.5
26 │   ├── bin
27 │   │   ├── 2to3
28 │   │   ├── python -> /usr/bin/python2.5
29 │   │   ├── python2 -> python
30 │   │   └── python-config -> /usr/bin/python2.5-config
31 │   └── pkgconfig
32 │   ├── python2.pc -> python.pc
33 │   └── python.pc -> /dev/null
34 ├── python2.6
35 │   ├── bin
36 │   │   ├── 2to3 -> /usr/bin/2to3-2.6
37 │   │   ├── python -> /usr/bin/python2.6
38 │   │   ├── python2 -> python
39 │   │   └── python-config -> /usr/bin/python2.6-config
40 │   └── pkgconfig
41 │   ├── python2.pc -> python.pc
42 │   └── python.pc -> /dev/null
43 ├── python2.7
44 │   ├── bin
45 │   │   ├── 2to3 -> /usr/bin/2to3-2.7
46 │   │   ├── python -> /usr/bin/python2.7
47 │   │   ├── python2 -> python
48 │   │   └── python-config -> /usr/bin/python2.7-config
49 │   └── pkgconfig
50 │   ├── python2.pc -> python.pc
51 │   └── python.pc -> /usr/lib64/pkgconfig/python-2.7.pc
52 ├── python3.1
53 │   ├── bin
54 │   │   ├── 2to3 -> /usr/bin/2to3-3.1
55 │   │   ├── python -> /usr/bin/python3.1
56 │   │   ├── python3 -> python
57 │   │   └── python-config -> /usr/bin/python3.1-config
58 │   └── pkgconfig
59 │   ├── python3.pc -> python.pc
60 │   └── python.pc -> /usr/lib64/pkgconfig/python-3.1.pc
61 ├── python3.2
62 │   ├── bin
63 │   │   ├── 2to3 -> /usr/bin/2to3-3.2
64 │   │   ├── python -> /usr/bin/python3.2
65 │   │   ├── python3 -> python
66 │   │   └── python-config -> /usr/bin/python3.2-config
67 │   └── pkgconfig
68 │   ├── python3.pc -> python.pc
69 │   └── python.pc -> /usr/lib64/pkgconfig/python-3.2.pc
70 └── python3.3
71 ├── bin
72 │   ├── 2to3 -> /usr/bin/2to3-3.3
73 │   ├── python -> /usr/bin/python3.3
74 │   ├── python3 -> python
75 │   └── python-config -> /usr/bin/python3.3-config
76 └── pkgconfig
77 ├── python3.pc -> python.pc
78 └── python.pc -> /usr/lib64/pkgconfig/python-3.3.pc
79
80 --
81 Best regards,
82 Michał Górny

Attachments

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

Replies