Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-docs: python-docs-2.6.2-r1.ebuild python-docs-2.5.4-r1.ebuild python-docs-3.1.1.ebuild python-docs-2.4.4-r1.ebuild
Date: Sun, 27 Sep 2009 18:39:55
Message-Id: E1Mryf3-0005VQ-Uy@stork.gentoo.org
1 arfrever 09/09/27 18:39:53
2
3 Modified: python-docs-2.6.2-r1.ebuild
4 python-docs-2.5.4-r1.ebuild
5 python-docs-3.1.1.ebuild
6 python-docs-2.4.4-r1.ebuild
7 Log:
8 Synchronize code with dev-lang/python.
9 (Portage version: 14444-svn/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.11 dev-python/python-docs/python-docs-2.6.2-r1.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild?rev=1.11&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild?rev=1.11&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild?r1=1.10&r2=1.11
17
18 Index: python-docs-2.6.2-r1.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild,v
21 retrieving revision 1.10
22 retrieving revision 1.11
23 diff -u -r1.10 -r1.11
24 --- python-docs-2.6.2-r1.ebuild 27 Sep 2009 14:28:56 -0000 1.10
25 +++ python-docs-2.6.2-r1.ebuild 27 Sep 2009 18:39:53 -0000 1.11
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2009 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild,v 1.10 2009/09/27 14:28:56 nixnut Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild,v 1.11 2009/09/27 18:39:53 arfrever Exp $
31
32 DESCRIPTION="HTML documentation for Python"
33 HOMEPAGE="http://www.python.org/doc/"
34 @@ -24,12 +24,22 @@
35 doenvd "60python-docs-${SLOT}"
36 }
37
38 +eselect_python_update() {
39 + local ignored_python_slots
40 + [[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
41 +
42 + # Create python2 symlink.
43 + eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
44 +
45 + eselect python update ${ignored_python_slots}
46 +}
47 +
48 pkg_postinst() {
49 - eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
50 + eselect_python_update
51 }
52
53 pkg_postrm() {
54 - eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
55 + eselect_python_update
56
57 if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
58 rm -f "${ROOT}etc/env.d/65python-docs"
59
60
61
62 1.4 dev-python/python-docs/python-docs-2.5.4-r1.ebuild
63
64 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild?rev=1.4&view=markup
65 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild?rev=1.4&content-type=text/plain
66 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild?r1=1.3&r2=1.4
67
68 Index: python-docs-2.5.4-r1.ebuild
69 ===================================================================
70 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild,v
71 retrieving revision 1.3
72 retrieving revision 1.4
73 diff -u -r1.3 -r1.4
74 --- python-docs-2.5.4-r1.ebuild 24 Aug 2009 01:54:57 -0000 1.3
75 +++ python-docs-2.5.4-r1.ebuild 27 Sep 2009 18:39:53 -0000 1.4
76 @@ -1,6 +1,6 @@
77 # Copyright 1999-2009 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild,v 1.3 2009/08/24 01:54:57 arfrever Exp $
80 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild,v 1.4 2009/09/27 18:39:53 arfrever Exp $
81
82 DESCRIPTION="HTML documentation for Python"
83 HOMEPAGE="http://www.python.org/doc/"
84 @@ -29,12 +29,22 @@
85 doenvd "60python-docs-${SLOT}"
86 }
87
88 +eselect_python_update() {
89 + local ignored_python_slots
90 + [[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
91 +
92 + # Create python2 symlink.
93 + eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
94 +
95 + eselect python update ${ignored_python_slots}
96 +}
97 +
98 pkg_postinst() {
99 - eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
100 + eselect_python_update
101 }
102
103 pkg_postrm() {
104 - eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
105 + eselect_python_update
106
107 if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
108 rm -f "${ROOT}etc/env.d/65python-docs"
109
110
111
112 1.2 dev-python/python-docs/python-docs-3.1.1.ebuild
113
114 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild?rev=1.2&view=markup
115 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild?rev=1.2&content-type=text/plain
116 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild?r1=1.1&r2=1.2
117
118 Index: python-docs-3.1.1.ebuild
119 ===================================================================
120 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild,v
121 retrieving revision 1.1
122 retrieving revision 1.2
123 diff -u -r1.1 -r1.2
124 --- python-docs-3.1.1.ebuild 24 Aug 2009 02:00:05 -0000 1.1
125 +++ python-docs-3.1.1.ebuild 27 Sep 2009 18:39:53 -0000 1.2
126 @@ -1,6 +1,6 @@
127 # Copyright 1999-2009 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild,v 1.1 2009/08/24 02:00:05 arfrever Exp $
130 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild,v 1.2 2009/09/27 18:39:53 arfrever Exp $
131
132 DESCRIPTION="HTML documentation for Python"
133 HOMEPAGE="http://www.python.org/doc/"
134 @@ -24,13 +24,22 @@
135 doenvd "60python-docs-${SLOT}"
136 }
137
138 +eselect_python_update() {
139 + local ignored_python_slots
140 + [[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
141 +
142 + # Create python3 symlink.
143 + eselect python update > /dev/null
144 +
145 + eselect python update ${ignored_python_slots}
146 +}
147 +
148 pkg_postinst() {
149 - :
150 -# eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
151 + eselect_python_update
152 }
153
154 pkg_postrm() {
155 -# eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
156 + eselect_python_update
157
158 if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
159 rm -f "${ROOT}etc/env.d/65python-docs"
160
161
162
163 1.4 dev-python/python-docs/python-docs-2.4.4-r1.ebuild
164
165 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild?rev=1.4&view=markup
166 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild?rev=1.4&content-type=text/plain
167 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild?r1=1.3&r2=1.4
168
169 Index: python-docs-2.4.4-r1.ebuild
170 ===================================================================
171 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild,v
172 retrieving revision 1.3
173 retrieving revision 1.4
174 diff -u -r1.3 -r1.4
175 --- python-docs-2.4.4-r1.ebuild 24 Aug 2009 01:54:57 -0000 1.3
176 +++ python-docs-2.4.4-r1.ebuild 27 Sep 2009 18:39:53 -0000 1.4
177 @@ -1,6 +1,6 @@
178 # Copyright 1999-2009 Gentoo Foundation
179 # Distributed under the terms of the GNU General Public License v2
180 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild,v 1.3 2009/08/24 01:54:57 arfrever Exp $
181 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild,v 1.4 2009/09/27 18:39:53 arfrever Exp $
182
183 DESCRIPTION="HTML documentation for Python"
184 HOMEPAGE="http://www.python.org/doc/"
185 @@ -36,12 +36,22 @@
186 doenvd "60python-docs-${SLOT}"
187 }
188
189 +eselect_python_update() {
190 + local ignored_python_slots
191 + [[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
192 +
193 + # Create python2 symlink.
194 + eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
195 +
196 + eselect python update ${ignored_python_slots}
197 +}
198 +
199 pkg_postinst() {
200 - eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
201 + eselect_python_update
202 }
203
204 pkg_postrm() {
205 - eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
206 + eselect_python_update
207
208 if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
209 rm -f "${ROOT}etc/env.d/65python-docs"