Gentoo Archives: gentoo-commits

From: "Sebastian Pipping (sping)" <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/python: python-2.7.1.ebuild ChangeLog python-3.1.3.ebuild
Date: Mon, 29 Nov 2010 11:47:12
Message-Id: 20101129114045.8BF9C20051@flycatcher.gentoo.org
1 sping 10/11/29 11:40:45
2
3 Modified: python-2.7.1.ebuild ChangeLog python-3.1.3.ebuild
4 Log:
5 dev-lang/python: Remove eselect_python_update() from 2.7.1 and 3.1.3
6
7 (Portage version: 2.1.9.25/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 dev-lang/python/python-2.7.1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/python-2.7.1.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/python-2.7.1.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/python-2.7.1.ebuild?r1=1.1&r2=1.2
15
16 Index: python-2.7.1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.1.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- python-2.7.1.ebuild 28 Nov 2010 19:05:49 -0000 1.1
23 +++ python-2.7.1.ebuild 29 Nov 2010 11:40:45 -0000 1.2
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.1.ebuild,v 1.1 2010/11/28 19:05:49 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.1.ebuild,v 1.2 2010/11/29 11:40:45 sping Exp $
29
30 EAPI="2"
31 WANT_AUTOMAKE="none"
32 @@ -337,15 +337,7 @@
33 fi
34 }
35
36 -eselect_python_update() {
37 - if [[ -z "$(eselect python show --python${PV%%.*})" ]]; then
38 - eselect python update --python${PV%%.*}
39 - fi
40 -}
41 -
42 pkg_postinst() {
43 - eselect_python_update
44 -
45 python_mod_optimize -f -x "/(site-packages|test|tests)/" $(python_get_libdir)
46
47 if [[ "${python_updater_warning}" == "1" ]]; then
48 @@ -362,7 +354,5 @@
49 }
50
51 pkg_postrm() {
52 - eselect_python_update
53 -
54 python_mod_cleanup $(python_get_libdir)
55 }
56
57
58
59 1.503 dev-lang/python/ChangeLog
60
61 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/ChangeLog?rev=1.503&view=markup
62 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/ChangeLog?rev=1.503&content-type=text/plain
63 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/ChangeLog?r1=1.502&r2=1.503
64
65 Index: ChangeLog
66 ===================================================================
67 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v
68 retrieving revision 1.502
69 retrieving revision 1.503
70 diff -u -r1.502 -r1.503
71 --- ChangeLog 28 Nov 2010 19:05:49 -0000 1.502
72 +++ ChangeLog 29 Nov 2010 11:40:45 -0000 1.503
73 @@ -1,6 +1,9 @@
74 # ChangeLog for dev-lang/python
75 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
76 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.502 2010/11/28 19:05:49 arfrever Exp $
77 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.503 2010/11/29 11:40:45 sping Exp $
78 +
79 + 29 Nov 2010; <sping@g.o> python-2.7.1.ebuild, python-3.1.3.ebuild:
80 + Remove eselect_python_update() from 2.7.1 and 3.1.3
81
82 *python-3.1.3 (28 Nov 2010)
83 *python-2.7.1 (28 Nov 2010)
84
85
86
87 1.2 dev-lang/python/python-3.1.3.ebuild
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/python-3.1.3.ebuild?rev=1.2&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/python-3.1.3.ebuild?rev=1.2&content-type=text/plain
91 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/python/python-3.1.3.ebuild?r1=1.1&r2=1.2
92
93 Index: python-3.1.3.ebuild
94 ===================================================================
95 RCS file: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.3.ebuild,v
96 retrieving revision 1.1
97 retrieving revision 1.2
98 diff -u -r1.1 -r1.2
99 --- python-3.1.3.ebuild 28 Nov 2010 19:05:49 -0000 1.1
100 +++ python-3.1.3.ebuild 29 Nov 2010 11:40:45 -0000 1.2
101 @@ -1,6 +1,6 @@
102 # Copyright 1999-2010 Gentoo Foundation
103 # Distributed under the terms of the GNU General Public License v2
104 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.3.ebuild,v 1.1 2010/11/28 19:05:49 arfrever Exp $
105 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.3.ebuild,v 1.2 2010/11/29 11:40:45 sping Exp $
106
107 EAPI="3"
108 WANT_AUTOMAKE="none"
109 @@ -308,15 +308,7 @@
110 fi
111 }
112
113 -eselect_python_update() {
114 - if [[ -z "$(eselect python show --python${PV%%.*})" ]]; then
115 - eselect python update --python${PV%%.*}
116 - fi
117 -}
118 -
119 pkg_postinst() {
120 - eselect_python_update
121 -
122 python_mod_optimize -f -x "/(site-packages|test|tests)/" $(python_get_libdir)
123
124 if [[ "$(eselect python show)" == "python2."* ]]; then
125 @@ -349,7 +341,5 @@
126 }
127
128 pkg_postrm() {
129 - eselect_python_update
130 -
131 python_mod_cleanup $(python_get_libdir)
132 }