Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/pykde4: pykde4-4.3.5-r1.ebuild pykde4-4.3.4-r1.ebuild ChangeLog pykde4-4.3.3.ebuild pykde4-4.3.3-r1.ebuild pykde4-4.3.4.ebuild
Date: Sun, 07 Feb 2010 21:24:52
Message-Id: E1NeEcY-0001cM-BK@stork.gentoo.org
1 abcd 10/02/07 21:24:46
2
3 Modified: pykde4-4.3.5-r1.ebuild ChangeLog
4 pykde4-4.3.3.ebuild
5 Added: pykde4-4.3.4-r1.ebuild pykde4-4.3.3-r1.ebuild
6 Removed: pykde4-4.3.4.ebuild
7 Log:
8 Backport pykdeuic4 patch to 4.3.3 and 4.3.4; add blocker to DEPEND as well as RDEPEND (compile-time errors)
9 (Portage version: -svn/cvs/Linux i686)
10
11 Revision Changes Path
12 1.2 kde-base/pykde4/pykde4-4.3.5-r1.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild?r1=1.1&r2=1.2
17
18 Index: pykde4-4.3.5-r1.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- pykde4-4.3.5-r1.ebuild 28 Jan 2010 06:13:52 -0000 1.1
25 +++ pykde4-4.3.5-r1.ebuild 7 Feb 2010 21:24:45 -0000 1.2
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2010 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild,v 1.1 2010/01/28 06:13:52 abcd Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.5-r1.ebuild,v 1.2 2010/02/07 21:24:45 abcd Exp $
31
32 EAPI="2"
33
34 @@ -14,17 +14,16 @@
35 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
36 IUSE="akonadi debug doc examples policykit semantic-desktop"
37
38 +# blocker added due to compatibility issues and error during compile time
39 DEPEND="
40 + !dev-python/pykde
41 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
42 aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,aqua] )
43 !aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X] )
44 akonadi? ( $(add_kdebase_dep kdepimlibs) )
45 policykit? ( >=sys-auth/policykit-qt-0.9.2 )
46 "
47 -# blocker added due to compatibility issues and error during compile time
48 -RDEPEND="${DEPEND}
49 - !dev-python/pykde
50 -"
51 +RDEPEND="${DEPEND}"
52
53 PATCHES=(
54 "${FILESDIR}"/${PN}-4.3.4-typedefs.sip.patch
55
56
57
58 1.53 kde-base/pykde4/ChangeLog
59
60 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.53&view=markup
61 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.53&content-type=text/plain
62 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.52&r2=1.53
63
64 Index: ChangeLog
65 ===================================================================
66 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v
67 retrieving revision 1.52
68 retrieving revision 1.53
69 diff -u -r1.52 -r1.53
70 --- ChangeLog 28 Jan 2010 06:13:52 -0000 1.52
71 +++ ChangeLog 7 Feb 2010 21:24:45 -0000 1.53
72 @@ -1,6 +1,15 @@
73 # ChangeLog for kde-base/pykde4
74 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
75 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.52 2010/01/28 06:13:52 abcd Exp $
76 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.53 2010/02/07 21:24:45 abcd Exp $
77 +
78 +*pykde4-4.3.4-r1 (07 Feb 2010)
79 +*pykde4-4.3.3-r1 (07 Feb 2010)
80 +
81 + 07 Feb 2010; Jonathan Callen <abcd@g.o> pykde4-4.3.3.ebuild,
82 + +pykde4-4.3.3-r1.ebuild, -pykde4-4.3.4.ebuild, +pykde4-4.3.4-r1.ebuild,
83 + pykde4-4.3.5-r1.ebuild:
84 + Backport pykdeuic4 patch to 4.3.3 and 4.3.4; add blocker to DEPEND as well
85 + as RDEPEND (compile-time errors)
86
87 *pykde4-4.3.5-r1 (28 Jan 2010)
88
89
90
91
92 1.7 kde-base/pykde4/pykde4-4.3.3.ebuild
93
94 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.3.ebuild?rev=1.7&view=markup
95 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.3.ebuild?rev=1.7&content-type=text/plain
96 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.3.ebuild?r1=1.6&r2=1.7
97
98 Index: pykde4-4.3.3.ebuild
99 ===================================================================
100 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.3.ebuild,v
101 retrieving revision 1.6
102 retrieving revision 1.7
103 diff -u -r1.6 -r1.7
104 --- pykde4-4.3.3.ebuild 19 Jan 2010 00:52:30 -0000 1.6
105 +++ pykde4-4.3.3.ebuild 7 Feb 2010 21:24:45 -0000 1.7
106 @@ -1,6 +1,6 @@
107 # Copyright 1999-2010 Gentoo Foundation
108 # Distributed under the terms of the GNU General Public License v2
109 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.3.ebuild,v 1.6 2010/01/19 00:52:30 jer Exp $
110 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.3.ebuild,v 1.7 2010/02/07 21:24:45 abcd Exp $
111
112 EAPI="2"
113
114 @@ -14,17 +14,15 @@
115 KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86"
116 IUSE="akonadi debug examples policykit semantic-desktop"
117
118 -COMMON_DEPEND="
119 +# blocker added due to compatibility issues and error during compile time
120 +DEPEND="
121 + !dev-python/pykde
122 >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X]
123 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
124 akonadi? ( $(add_kdebase_dep kdepimlibs) )
125 policykit? ( >=sys-auth/policykit-qt-0.9.2 )
126 "
127 -DEPEND="${COMMON_DEPEND}"
128 -# blocker added due to compatibility issues and error during compile time
129 -RDEPEND="${COMMON_DEPEND}
130 - !dev-python/pykde
131 -"
132 +RDEPEND="${DEPEND}"
133
134 pkg_setup() {
135 python_pkg_setup
136
137
138
139 1.1 kde-base/pykde4/pykde4-4.3.4-r1.ebuild
140
141 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.4-r1.ebuild?rev=1.1&view=markup
142 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.4-r1.ebuild?rev=1.1&content-type=text/plain
143
144 Index: pykde4-4.3.4-r1.ebuild
145 ===================================================================
146 # Copyright 1999-2010 Gentoo Foundation
147 # Distributed under the terms of the GNU General Public License v2
148 # $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.4-r1.ebuild,v 1.1 2010/02/07 21:24:45 abcd Exp $
149
150 EAPI="2"
151
152 KMNAME="kdebindings"
153 KMMODULE="python/${PN}"
154 OPENGL_REQUIRED="always"
155 PYTHON_USE_WITH="threads"
156 inherit python kde4-meta
157
158 DESCRIPTION="Python bindings for KDE4"
159 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
160 IUSE="akonadi debug examples policykit semantic-desktop"
161
162 # blocker added due to compatibility issues and error during compile time
163 DEPEND="
164 !dev-python/pykde
165 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
166 aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,aqua] )
167 !aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X] )
168 akonadi? ( $(add_kdebase_dep kdepimlibs) )
169 policykit? ( >=sys-auth/policykit-qt-0.9.2 )
170 "
171 RDEPEND="${DEPEND}"
172
173 PATCHES=(
174 "${FILESDIR}"/${P}-fix-pykdeuic4.patch
175 )
176
177 pkg_setup() {
178 python_pkg_setup
179 kde4-meta_pkg_setup
180 }
181
182 src_prepare() {
183 kde4-meta_src_prepare
184
185 if ! use examples; then
186 sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
187 || die "Failed to disable examples"
188 fi
189 epatch "${FILESDIR}"/${P}-typedefs.sip.patch
190 }
191
192 src_configure() {
193 mycmakeargs=(
194 -DWITH_QScintilla=OFF
195 $(cmake-utils_use_with semantic-desktop Soprano)
196 $(cmake-utils_use_with semantic-desktop Nepomuk)
197 $(cmake-utils_use_with akonadi)
198 $(cmake-utils_use_with akonadi KdepimLibs)
199 $(cmake-utils_use_with policykit PolkitQt)
200 )
201
202 kde4-meta_src_configure
203 }
204
205 src_install() {
206 kde4-meta_src_install
207
208 rm -f \
209 "${ED}$(python_get_sitedir)"/PyKDE4/*.py[co] \
210 "${ED}${PREFIX}"/share/apps/"${PN}"/*.py[co]
211 }
212
213 pkg_postinst() {
214 kde4-meta_pkg_postinst
215
216 python_mod_optimize "$(python_get_sitedir)"/PyKDE4
217
218 if use examples; then
219 echo
220 elog "PyKDE4 examples have been installed to"
221 elog "${EKDEDIR}/share/apps/${PN}/examples"
222 echo
223 fi
224 }
225
226 pkg_postrm() {
227 kde4-meta_pkg_postrm
228
229 python_mod_cleanup "$(python_get_sitedir)"/PyKDE4
230 }
231
232
233
234 1.1 kde-base/pykde4/pykde4-4.3.3-r1.ebuild
235
236 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.3-r1.ebuild?rev=1.1&view=markup
237 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.3-r1.ebuild?rev=1.1&content-type=text/plain
238
239 Index: pykde4-4.3.3-r1.ebuild
240 ===================================================================
241 # Copyright 1999-2010 Gentoo Foundation
242 # Distributed under the terms of the GNU General Public License v2
243 # $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.3-r1.ebuild,v 1.1 2010/02/07 21:24:45 abcd Exp $
244
245 EAPI="2"
246
247 KMNAME="kdebindings"
248 KMMODULE="python/${PN}"
249 OPENGL_REQUIRED="always"
250 PYTHON_USE_WITH="threads"
251 inherit python kde4-meta
252
253 DESCRIPTION="Python bindings for KDE4"
254 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
255 IUSE="akonadi debug examples policykit semantic-desktop"
256
257 # blocker added due to compatibility issues and error during compile time
258 DEPEND="
259 !dev-python/pykde
260 >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X]
261 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
262 akonadi? ( $(add_kdebase_dep kdepimlibs) )
263 policykit? ( >=sys-auth/policykit-qt-0.9.2 )
264 "
265 RDEPEND="${DEPEND}"
266
267 PATCHES=(
268 "${FILESDIR}"/${PN}-4.3.5-fix-pykdeuic4.patch
269 )
270
271 pkg_setup() {
272 python_pkg_setup
273 kde4-meta_pkg_setup
274 }
275
276 src_prepare() {
277 kde4-meta_src_prepare
278
279 if ! use examples; then
280 sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
281 || die "Failed to disable examples"
282 fi
283 }
284
285 src_configure() {
286 mycmakeargs="${mycmakeargs}
287 -DWITH_QScintilla=OFF
288 $(cmake-utils_use_with semantic-desktop Soprano)
289 $(cmake-utils_use_with semantic-desktop Nepomuk)
290 $(cmake-utils_use_with akonadi)
291 $(cmake-utils_use_with akonadi KdepimLibs)
292 $(cmake-utils_use_with policykit PolkitQt)
293 "
294
295 kde4-meta_src_configure
296 }
297
298 src_install() {
299 kde4-meta_src_install
300
301 python_version
302 rm -f \
303 "${D}/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4/*.py[co] \
304 "${D}${PREFIX}"/share/apps/"${PN}"/*.py[co]
305 }
306
307 pkg_postinst() {
308 kde4-meta_pkg_postinst
309
310 python_mod_optimize ${ROOT}"usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4
311
312 if use examples; then
313 echo
314 elog "PyKDE4 examples have been installed to"
315 elog "${PREFIX}/share/apps/${PN}/examples"
316 echo
317 fi
318 }
319
320 pkg_postrm() {
321 kde4-meta_pkg_postrm
322
323 python_mod_cleanup ${ROOT}"usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4
324 }