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 sys-apps/policycoreutils: ChangeLog policycoreutils-2.0.69.ebuild policycoreutils-2.0.55.ebuild policycoreutils-2.0.69-r1.ebuild
Date: Sun, 04 Apr 2010 21:56:36
Message-Id: E1NyXo0-0006Ur-Dn@stork.gentoo.org
1 arfrever 10/04/04 21:56:32
2
3 Modified: ChangeLog policycoreutils-2.0.69.ebuild
4 policycoreutils-2.0.55.ebuild
5 policycoreutils-2.0.69-r1.ebuild
6 Log:
7 Delete calls to deprecated python_version().
8 (Portage version: HEAD/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.77 sys-apps/policycoreutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/ChangeLog?rev=1.77&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/ChangeLog?rev=1.77&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/ChangeLog?r1=1.76&r2=1.77
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v
20 retrieving revision 1.76
21 retrieving revision 1.77
22 diff -u -r1.76 -r1.77
23 --- ChangeLog 20 Sep 2009 23:24:54 -0000 1.76
24 +++ ChangeLog 4 Apr 2010 21:56:32 -0000 1.77
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/policycoreutils
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.76 2009/09/20 23:24:54 pebenito Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.77 2010/04/04 21:56:32 arfrever Exp $
31 +
32 + 04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + policycoreutils-2.0.55.ebuild, policycoreutils-2.0.69.ebuild,
34 + policycoreutils-2.0.69-r1.ebuild:
35 + Delete calls to deprecated python_version().
36
37 *policycoreutils-2.0.69-r1 (20 Sep 2009)
38
39
40
41
42 1.5 sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild?rev=1.5&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild?rev=1.5&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild?r1=1.4&r2=1.5
47
48 Index: policycoreutils-2.0.69.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild,v
51 retrieving revision 1.4
52 retrieving revision 1.5
53 diff -u -r1.4 -r1.5
54 --- policycoreutils-2.0.69.ebuild 14 Sep 2009 18:25:54 -0000 1.4
55 +++ policycoreutils-2.0.69.ebuild 4 Apr 2010 21:56:32 -0000 1.5
56 @@ -1,6 +1,6 @@
57 -# Copyright 1999-2009 Gentoo Foundation
58 +# Copyright 1999-2010 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild,v 1.4 2009/09/14 18:25:54 pebenito Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69.ebuild,v 1.5 2010/04/04 21:56:32 arfrever Exp $
62
63 IUSE="nls"
64
65 @@ -66,20 +66,17 @@
66 }
67
68 src_compile() {
69 - python_version
70 -
71 einfo "Compiling policycoreutils"
72 - emake -C "${S}" PYLIBVER="python${PYVER}" AUDIT_LOG_PRIV=y || die
73 + emake -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y || die
74 einfo "Compiling policycoreutils-extra"
75 emake -C "${S2}" || die
76 }
77
78 src_install() {
79 - python_version
80 python_need_rebuild
81
82 einfo "Installing policycoreutils"
83 - make DESTDIR="${D}" -C "${S}" PYLIBVER="python${PYVER}" AUDIT_LOG_PRIV=y install || die
84 + make DESTDIR="${D}" -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y install || die
85 einfo "Installing policycoreutils-extra"
86 make DESTDIR="${D}" -C "${S2}" install || die
87
88 @@ -98,11 +95,9 @@
89 }
90
91 pkg_postinst() {
92 - python_version
93 - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
94 + python_mod_optimize $(python_get_sitedir)
95 }
96
97 pkg_postrm() {
98 - python_version
99 - python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
100 + python_mod_cleanup $(python_get_sitedir)
101 }
102
103
104
105 1.4 sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild
106
107 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild?rev=1.4&view=markup
108 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild?rev=1.4&content-type=text/plain
109 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild?r1=1.3&r2=1.4
110
111 Index: policycoreutils-2.0.55.ebuild
112 ===================================================================
113 RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild,v
114 retrieving revision 1.3
115 retrieving revision 1.4
116 diff -u -r1.3 -r1.4
117 --- policycoreutils-2.0.55.ebuild 2 Aug 2009 01:56:27 -0000 1.3
118 +++ policycoreutils-2.0.55.ebuild 4 Apr 2010 21:56:32 -0000 1.4
119 @@ -1,6 +1,6 @@
120 -# Copyright 1999-2009 Gentoo Foundation
121 +# Copyright 1999-2010 Gentoo Foundation
122 # Distributed under the terms of the GNU General Public License v2
123 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild,v 1.3 2009/08/02 01:56:27 pebenito Exp $
124 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.55.ebuild,v 1.4 2010/04/04 21:56:32 arfrever Exp $
125
126 IUSE="nls"
127
128 @@ -66,20 +66,17 @@
129 }
130
131 src_compile() {
132 - python_version
133 -
134 einfo "Compiling policycoreutils"
135 - emake -C "${S}" PYLIBVER="python${PYVER}" AUDIT_LOG_PRIV=y || die
136 + emake -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y || die
137 einfo "Compiling policycoreutils-extra"
138 emake -C "${S2}" || die
139 }
140
141 src_install() {
142 - python_version
143 python_need_rebuild
144
145 einfo "Installing policycoreutils"
146 - make DESTDIR="${D}" -C "${S}" PYLIBVER="python${PYVER}" AUDIT_LOG_PRIV=y install || die
147 + make DESTDIR="${D}" -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y install || die
148 einfo "Installing policycoreutils-extra"
149 make DESTDIR="${D}" -C "${S2}" install || die
150
151 @@ -98,11 +95,9 @@
152 }
153
154 pkg_postinst() {
155 - python_version
156 - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
157 + python_mod_optimize $(python_get_sitedir)
158 }
159
160 pkg_postrm() {
161 - python_version
162 - python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
163 + python_mod_cleanup $(python_get_sitedir)
164 }
165
166
167
168 1.2 sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild
169
170 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild?rev=1.2&view=markup
171 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild?rev=1.2&content-type=text/plain
172 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild?r1=1.1&r2=1.2
173
174 Index: policycoreutils-2.0.69-r1.ebuild
175 ===================================================================
176 RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild,v
177 retrieving revision 1.1
178 retrieving revision 1.2
179 diff -u -r1.1 -r1.2
180 --- policycoreutils-2.0.69-r1.ebuild 20 Sep 2009 23:24:54 -0000 1.1
181 +++ policycoreutils-2.0.69-r1.ebuild 4 Apr 2010 21:56:32 -0000 1.2
182 @@ -1,6 +1,6 @@
183 -# Copyright 1999-2009 Gentoo Foundation
184 +# Copyright 1999-2010 Gentoo Foundation
185 # Distributed under the terms of the GNU General Public License v2
186 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild,v 1.1 2009/09/20 23:24:54 pebenito Exp $
187 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.69-r1.ebuild,v 1.2 2010/04/04 21:56:32 arfrever Exp $
188
189 IUSE="nls"
190
191 @@ -68,20 +68,17 @@
192 }
193
194 src_compile() {
195 - python_version
196 -
197 einfo "Compiling policycoreutils"
198 - emake -C "${S}" PYLIBVER="python${PYVER}" AUDIT_LOG_PRIV=y || die
199 + emake -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y || die
200 einfo "Compiling policycoreutils-extra"
201 emake -C "${S2}" || die
202 }
203
204 src_install() {
205 - python_version
206 python_need_rebuild
207
208 einfo "Installing policycoreutils"
209 - make DESTDIR="${D}" -C "${S}" PYLIBVER="python${PYVER}" AUDIT_LOG_PRIV=y install || die
210 + make DESTDIR="${D}" -C "${S}" PYLIBVER="python$(python_get_version)" AUDIT_LOG_PRIV=y install || die
211 einfo "Installing policycoreutils-extra"
212 make DESTDIR="${D}" -C "${S2}" install || die
213
214 @@ -100,11 +97,9 @@
215 }
216
217 pkg_postinst() {
218 - python_version
219 - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
220 + python_mod_optimize $(python_get_sitedir)
221 }
222
223 pkg_postrm() {
224 - python_version
225 - python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
226 + python_mod_cleanup $(python_get_sitedir)
227 }