Gentoo Archives: gentoo-dev

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Stable Python stage repair thread
Date: Sat, 04 Dec 2010 01:47:50
Message-Id: 4CF99DA4.6070505@gentoo.org
In Reply to: Re: [gentoo-dev] Stable Python stage repair thread by Sebastian Pipping
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi.
5
6 On 03-12-2010 23:34, Sebastian Pipping wrote:
7 > Hello!
8 >
9 >
10 > In the mean time I have sent the attached patch to people involved with
11 > building Gentoo stages. Before further taking action on/with that patch
12 > I am waiting for their response.
13
14 I've been talking with Sebastian to see if we can get a fix that works
15 for releng, so we can get stages building working again.
16
17 > I am now posting it here in order to let you know about this change in
18 > status and to give potentially interested parties a chance to join with
19 > review.
20
21 I've sent Sebastian the following patch that I've tested locally and
22 that allowed me to build stages again.
23
24
25 diff -u -b -B -r1.10 python-2.6.5-r3.ebuild
26 - --- python-2.6.5-r3.ebuild 1 Dec 2010 19:53:20 -0000 1.10
27 +++ python-2.6.5-r3.ebuild 4 Dec 2010 01:44:13 -0000
28 @@ -299,6 +299,7 @@
29 if [[ -z "$(eselect python show --python${PV%%.*})" ]]; then
30 eselect python update --python${PV%%.*}
31 fi
32 + eselect python update --if-unset
33 }
34
35 pkg_preinst() {
36 Index: python-3.1.2-r4.ebuild
37 ===================================================================
38 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.2-r4.ebuild,v
39 retrieving revision 1.11
40 diff -u -b -B -r1.11 python-3.1.2-r4.ebuild
41 - --- python-3.1.2-r4.ebuild 1 Dec 2010 19:53:20 -0000 1.11
42 +++ python-3.1.2-r4.ebuild 4 Dec 2010 01:44:13 -0000
43 @@ -297,6 +297,7 @@
44 if [[ -z "$(eselect python show --python${PV%%.*})" ]]; then
45 eselect python update --python${PV%%.*}
46 fi
47 + eselect python update --if-unset
48 }
49
50 pkg_preinst() {
51
52
53 This patch gives us back the python symlink and sets python-2.6 as the
54 default python interpreter.
55
56
57 > Best,
58
59
60 > Sebastian
61
62 - --
63 Regards,
64
65 Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
66 Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng
67 -----BEGIN PGP SIGNATURE-----
68 Version: GnuPG v2.0.16 (GNU/Linux)
69 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
70
71 iQIcBAEBAgAGBQJM+Z2kAAoJEC8ZTXQF1qEPIgwP/0hbKtUma2XbnJzB0uawdXwe
72 QQTrrnaLq82ErQYTBDyG63Pb1kscTbeH8LwqeSsDpIRkCcXwFEeC+Imr738e3uZh
73 e9ihYvFGCdD97z0YvkAkYuqVqGGP5im3KBHSnNSMk6ZwXJtD03vgeVwRA5Dnx7jg
74 KgMWj5WEdevAaH9VP59dpTRjSvhyMKHPEPjrcJjZ01RFu/QNSqvvVpVXB80oJCLn
75 A4nneBjBJhIWEFYR2plriw56I2XsTg++M6LkSaVKDUOBbBkIVaDARAvlBzwcaVXp
76 uIndguJjaXOp1Nl/GACsuvsc2Dd0GOkCbeDv2NAynzYBiOT6ldwq64NMa87JrNVa
77 BcMQilvsovw3qsupR2rmR3Ylss1Q26lAN5lbqyMsfbLTVO4DZTcy4Fr/ktieMojt
78 SngC/TBIOUwUApWrCYUNFHqqMM0jpWVtqa0RPaAj6FkNjYoWOTgfYxKmwJPz1Dj0
79 jY5zR0lwHaaSCkoi6KbA1XWo1/db5o7wbGomb7B5bRY4HbXUI8cXU/zBaZElkR2y
80 Jf0j30NvWtTM6Eh8V7T15hFku900BjmmMjvmrNMwrajA5U3DsLRVW/spLNx12yeL
81 xyErfH32WuiW/hmLCgnmGrGmcYnQeN6fBO0ENCM0kDWCYW5b4qmkoqug0v3G1ReV
82 ZgE5fXFR/eS67bhUir/2
83 =jEfM
84 -----END PGP SIGNATURE-----