Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/pykde4/
Date: Tue, 29 Jan 2013 18:49:28
Message-Id: 1359485121.1f6b499be0f393da0ea712fd523892f7a7a6be28.kensington@gentoo
1 commit: 1f6b499be0f393da0ea712fd523892f7a7a6be28
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 29 18:45:21 2013 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 29 18:45:21 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1f6b499b
7
8 [kde-base/pykde4] Migrate to the new python eclass.
9
10 Package-Manager: portage-2.1.11.50
11
12 ---
13 kde-base/pykde4/pykde4-4.10.49.9999.ebuild | 69 ++++++++++++++------------
14 kde-base/pykde4/pykde4-4.9.98.ebuild | 71 +++++++++++++++-------------
15 kde-base/pykde4/pykde4-9999.ebuild | 69 ++++++++++++++------------
16 3 files changed, 112 insertions(+), 97 deletions(-)
17
18 diff --git a/kde-base/pykde4/pykde4-4.10.49.9999.ebuild b/kde-base/pykde4/pykde4-4.10.49.9999.ebuild
19 index 982076b..45f4b2e 100644
20 --- a/kde-base/pykde4/pykde4-4.10.49.9999.ebuild
21 +++ b/kde-base/pykde4/pykde4-4.10.49.9999.ebuild
22 @@ -3,14 +3,11 @@
23 # $Header: $
24
25 EAPI=5
26 -
27 -PYTHON_DEPEND="*:2.5"
28 -RESTRICT_PYTHON_ABIS="*-jython 2.4 2.7-pypy-*"
29 -PYTHON_USE_WITH="threads"
30 -SUPPORT_PYTHON_ABIS="1"
31 -
32 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
33 +PYTHON_REQ_USE="threads"
34 OPENGL_REQUIRED="always"
35 -inherit python portability kde4-base multilib
36 +
37 +inherit python-r1 portability kde4-base multilib
38
39 DESCRIPTION="Python bindings for KDE4"
40 KEYWORDS=""
41 @@ -19,30 +16,33 @@ REQUIRED_USE="test? ( semantic-desktop )"
42
43 # blocker added due to compatibility issues and error during compile time
44 RDEPEND="
45 - >=dev-python/sip-4.14:=
46 + ${PYTHON_DEPS}
47 + >=dev-python/sip-4.14:=[${PYTHON_USEDEP}]
48 +
49 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop=')
50 semantic-desktop? (
51 $(add_kdebase_dep kdepimlibs 'semantic-desktop')
52 >=dev-libs/soprano-2.9.0
53 )
54 - aqua? ( >=dev-python/PyQt4-4.9.5[dbus,declarative,script(+),sql,svg,webkit,aqua] )
55 - !aqua? ( >=dev-python/PyQt4-4.9.5[dbus,declarative,script(+),sql,svg,webkit,X] )
56 + aqua? ( >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,aqua] )
57 + !aqua? ( >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X] )
58 "
59 DEPEND="${RDEPEND}
60 sys-devel/libtool
61 "
62
63 pkg_setup() {
64 - python_pkg_setup
65 kde4-base_pkg_setup
66
67 have_python2=false
68
69 scan_python_versions() {
70 - [[ ${PYTHON_ABI} == 2.* ]] && have_python2=true
71 - :
72 + if [[ ${EPYTHON} == python2.* ]]; then
73 + have_python2=true
74 + fi
75 }
76 - python_execute_function -q scan_python_versions
77 + python_foreach_impl scan_python_versions
78 +
79 if ! ${have_python2}; then
80 ewarn "You do not have a Python 2 version selected."
81 ewarn "kpythonpluginfactory will not be built"
82 @@ -60,30 +60,35 @@ src_prepare() {
83 # See bug 322351
84 use arm && epatch "${FILESDIR}/${PN}-4.4.4-arm-sip.patch"
85
86 - sed -i -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' kpythonpluginfactory/CMakeLists.txt
87 + sed -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' \
88 + -i kpythonpluginfactory/CMakeLists.txt || die
89
90 if ${have_python2}; then
91 mkdir -p "${WORKDIR}/wrapper" || die "failed to copy wrapper"
92 cp "${FILESDIR}/kpythonpluginfactorywrapper.c-r1" "${WORKDIR}/wrapper/kpythonpluginfactorywrapper.c" || die "failed to copy wrapper"
93 fi
94 + python_copy_sources
95 +
96 }
97
98 src_configure() {
99 configuration() {
100 + pushd "${BUILD_DIR}" > /dev/null
101 local mycmakeargs=(
102 -DWITH_PolkitQt=OFF
103 -DWITH_QScintilla=OFF
104 $(cmake-utils_use_with semantic-desktop Soprano)
105 $(cmake-utils_use_with semantic-desktop Nepomuk)
106 $(cmake-utils_use_with semantic-desktop KdepimLibs)
107 - -DPYTHON_EXECUTABLE=$(PYTHON -a)
108 + -DPYTHON_EXECUTABLE=${PYTHON}
109 -DPYKDEUIC4_ALTINSTALL=TRUE
110 )
111 local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
112 kde4-base_src_configure
113 + popd > /dev/null
114 }
115
116 - python_execute_function configuration
117 + python_foreach_impl configuration
118 }
119
120 echo_and_run() {
121 @@ -93,13 +98,15 @@ echo_and_run() {
122
123 src_compile() {
124 compilation() {
125 + pushd "${BUILD_DIR}" > /dev/null
126 local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
127 kde4-base_src_compile
128 + popd > /dev/null
129 }
130 - python_execute_function compilation
131 + python_foreach_impl compilation
132
133 if ${have_python2}; then
134 - cd "${WORKDIR}/wrapper"
135 + pushd "${WORKDIR}/wrapper" > /dev/null
136 echo_and_run libtool --tag=CC --mode=compile $(tc-getCC) \
137 -shared \
138 ${CFLAGS} ${CPPFLAGS} \
139 @@ -114,17 +121,22 @@ src_compile() {
140 -rpath "${EPREFIX}/usr/$(get_libdir)/kde4" \
141 kpythonpluginfactorywrapper.lo \
142 $(dlopen_lib)
143 + popd > /dev/null
144 fi
145 }
146
147 src_install() {
148 installation() {
149 - cd "${S}_build-${PYTHON_ABI}"
150 - emake DESTDIR="${T}/images/${PYTHON_ABI}" install
151 + pushd "${BUILD_DIR}" > /dev/null
152 + emake DESTDIR="${D}" install
153 + popd > /dev/null
154 +
155 + mv "${ED}"/usr/bin/pykdeuic4{,-${EPYTHON}} || die
156 + python_optimize
157 }
158 - python_execute_function installation
159 + python_foreach_impl installation
160
161 - python_merge_intermediate_installation_images "${T}/images"
162 + dosym python-exec /usr/bin/pykdeuic4
163
164 # As we don't call the eclass's src_install, we have to install the docs manually
165 DOCS=("${S}"/{AUTHORS,NEWS,README})
166 @@ -132,17 +144,16 @@ src_install() {
167 base_src_install_docs
168
169 if ${have_python2}; then
170 - cd "${WORKDIR}/wrapper"
171 + pushd "${WORKDIR}/wrapper" > /dev/null
172 echo_and_run libtool --mode=install install kpythonpluginfactory.la "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
173 rm "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
174 + popd > /dev/null
175 fi
176 }
177
178 pkg_postinst() {
179 kde4-base_pkg_postinst
180
181 - python_mod_optimize PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plugins/kde4.py
182 -
183 if use examples; then
184 echo
185 elog "PyKDE4 examples have been installed to"
186 @@ -150,9 +161,3 @@ pkg_postinst() {
187 echo
188 fi
189 }
190 -
191 -pkg_postrm() {
192 - kde4-base_pkg_postrm
193 -
194 - python_mod_cleanup PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plugins/kde4.py
195 -}
196
197 diff --git a/kde-base/pykde4/pykde4-4.9.98.ebuild b/kde-base/pykde4/pykde4-4.9.98.ebuild
198 index 22e8a0a..45f4b2e 100644
199 --- a/kde-base/pykde4/pykde4-4.9.98.ebuild
200 +++ b/kde-base/pykde4/pykde4-4.9.98.ebuild
201 @@ -3,46 +3,46 @@
202 # $Header: $
203
204 EAPI=5
205 -
206 -PYTHON_DEPEND="*:2.5"
207 -RESTRICT_PYTHON_ABIS="*-jython 2.4 2.7-pypy-*"
208 -PYTHON_USE_WITH="threads"
209 -SUPPORT_PYTHON_ABIS="1"
210 -
211 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
212 +PYTHON_REQ_USE="threads"
213 OPENGL_REQUIRED="always"
214 -inherit python portability kde4-base multilib
215 +
216 +inherit python-r1 portability kde4-base multilib
217
218 DESCRIPTION="Python bindings for KDE4"
219 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
220 +KEYWORDS=""
221 IUSE="debug doc examples semantic-desktop test"
222 REQUIRED_USE="test? ( semantic-desktop )"
223
224 # blocker added due to compatibility issues and error during compile time
225 RDEPEND="
226 - >=dev-python/sip-4.14:=
227 + ${PYTHON_DEPS}
228 + >=dev-python/sip-4.14:=[${PYTHON_USEDEP}]
229 +
230 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop=')
231 semantic-desktop? (
232 $(add_kdebase_dep kdepimlibs 'semantic-desktop')
233 >=dev-libs/soprano-2.9.0
234 )
235 - aqua? ( >=dev-python/PyQt4-4.9.5[dbus,declarative,script(+),sql,svg,webkit,aqua] )
236 - !aqua? ( >=dev-python/PyQt4-4.9.5[dbus,declarative,script(+),sql,svg,webkit,X] )
237 + aqua? ( >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,aqua] )
238 + !aqua? ( >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X] )
239 "
240 DEPEND="${RDEPEND}
241 sys-devel/libtool
242 "
243
244 pkg_setup() {
245 - python_pkg_setup
246 kde4-base_pkg_setup
247
248 have_python2=false
249
250 scan_python_versions() {
251 - [[ ${PYTHON_ABI} == 2.* ]] && have_python2=true
252 - :
253 + if [[ ${EPYTHON} == python2.* ]]; then
254 + have_python2=true
255 + fi
256 }
257 - python_execute_function -q scan_python_versions
258 + python_foreach_impl scan_python_versions
259 +
260 if ! ${have_python2}; then
261 ewarn "You do not have a Python 2 version selected."
262 ewarn "kpythonpluginfactory will not be built"
263 @@ -60,30 +60,35 @@ src_prepare() {
264 # See bug 322351
265 use arm && epatch "${FILESDIR}/${PN}-4.4.4-arm-sip.patch"
266
267 - sed -i -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' kpythonpluginfactory/CMakeLists.txt
268 + sed -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' \
269 + -i kpythonpluginfactory/CMakeLists.txt || die
270
271 if ${have_python2}; then
272 mkdir -p "${WORKDIR}/wrapper" || die "failed to copy wrapper"
273 cp "${FILESDIR}/kpythonpluginfactorywrapper.c-r1" "${WORKDIR}/wrapper/kpythonpluginfactorywrapper.c" || die "failed to copy wrapper"
274 fi
275 + python_copy_sources
276 +
277 }
278
279 src_configure() {
280 configuration() {
281 + pushd "${BUILD_DIR}" > /dev/null
282 local mycmakeargs=(
283 -DWITH_PolkitQt=OFF
284 -DWITH_QScintilla=OFF
285 $(cmake-utils_use_with semantic-desktop Soprano)
286 $(cmake-utils_use_with semantic-desktop Nepomuk)
287 $(cmake-utils_use_with semantic-desktop KdepimLibs)
288 - -DPYTHON_EXECUTABLE=$(PYTHON -a)
289 + -DPYTHON_EXECUTABLE=${PYTHON}
290 -DPYKDEUIC4_ALTINSTALL=TRUE
291 )
292 local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
293 kde4-base_src_configure
294 + popd > /dev/null
295 }
296
297 - python_execute_function configuration
298 + python_foreach_impl configuration
299 }
300
301 echo_and_run() {
302 @@ -93,13 +98,15 @@ echo_and_run() {
303
304 src_compile() {
305 compilation() {
306 + pushd "${BUILD_DIR}" > /dev/null
307 local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
308 kde4-base_src_compile
309 + popd > /dev/null
310 }
311 - python_execute_function compilation
312 + python_foreach_impl compilation
313
314 if ${have_python2}; then
315 - cd "${WORKDIR}/wrapper"
316 + pushd "${WORKDIR}/wrapper" > /dev/null
317 echo_and_run libtool --tag=CC --mode=compile $(tc-getCC) \
318 -shared \
319 ${CFLAGS} ${CPPFLAGS} \
320 @@ -114,17 +121,22 @@ src_compile() {
321 -rpath "${EPREFIX}/usr/$(get_libdir)/kde4" \
322 kpythonpluginfactorywrapper.lo \
323 $(dlopen_lib)
324 + popd > /dev/null
325 fi
326 }
327
328 src_install() {
329 installation() {
330 - cd "${S}_build-${PYTHON_ABI}"
331 - emake DESTDIR="${T}/images/${PYTHON_ABI}" install
332 + pushd "${BUILD_DIR}" > /dev/null
333 + emake DESTDIR="${D}" install
334 + popd > /dev/null
335 +
336 + mv "${ED}"/usr/bin/pykdeuic4{,-${EPYTHON}} || die
337 + python_optimize
338 }
339 - python_execute_function installation
340 + python_foreach_impl installation
341
342 - python_merge_intermediate_installation_images "${T}/images"
343 + dosym python-exec /usr/bin/pykdeuic4
344
345 # As we don't call the eclass's src_install, we have to install the docs manually
346 DOCS=("${S}"/{AUTHORS,NEWS,README})
347 @@ -132,17 +144,16 @@ src_install() {
348 base_src_install_docs
349
350 if ${have_python2}; then
351 - cd "${WORKDIR}/wrapper"
352 + pushd "${WORKDIR}/wrapper" > /dev/null
353 echo_and_run libtool --mode=install install kpythonpluginfactory.la "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
354 rm "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
355 + popd > /dev/null
356 fi
357 }
358
359 pkg_postinst() {
360 kde4-base_pkg_postinst
361
362 - python_mod_optimize PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plugins/kde4.py
363 -
364 if use examples; then
365 echo
366 elog "PyKDE4 examples have been installed to"
367 @@ -150,9 +161,3 @@ pkg_postinst() {
368 echo
369 fi
370 }
371 -
372 -pkg_postrm() {
373 - kde4-base_pkg_postrm
374 -
375 - python_mod_cleanup PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plugins/kde4.py
376 -}
377
378 diff --git a/kde-base/pykde4/pykde4-9999.ebuild b/kde-base/pykde4/pykde4-9999.ebuild
379 index 982076b..45f4b2e 100644
380 --- a/kde-base/pykde4/pykde4-9999.ebuild
381 +++ b/kde-base/pykde4/pykde4-9999.ebuild
382 @@ -3,14 +3,11 @@
383 # $Header: $
384
385 EAPI=5
386 -
387 -PYTHON_DEPEND="*:2.5"
388 -RESTRICT_PYTHON_ABIS="*-jython 2.4 2.7-pypy-*"
389 -PYTHON_USE_WITH="threads"
390 -SUPPORT_PYTHON_ABIS="1"
391 -
392 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
393 +PYTHON_REQ_USE="threads"
394 OPENGL_REQUIRED="always"
395 -inherit python portability kde4-base multilib
396 +
397 +inherit python-r1 portability kde4-base multilib
398
399 DESCRIPTION="Python bindings for KDE4"
400 KEYWORDS=""
401 @@ -19,30 +16,33 @@ REQUIRED_USE="test? ( semantic-desktop )"
402
403 # blocker added due to compatibility issues and error during compile time
404 RDEPEND="
405 - >=dev-python/sip-4.14:=
406 + ${PYTHON_DEPS}
407 + >=dev-python/sip-4.14:=[${PYTHON_USEDEP}]
408 +
409 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop=')
410 semantic-desktop? (
411 $(add_kdebase_dep kdepimlibs 'semantic-desktop')
412 >=dev-libs/soprano-2.9.0
413 )
414 - aqua? ( >=dev-python/PyQt4-4.9.5[dbus,declarative,script(+),sql,svg,webkit,aqua] )
415 - !aqua? ( >=dev-python/PyQt4-4.9.5[dbus,declarative,script(+),sql,svg,webkit,X] )
416 + aqua? ( >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,aqua] )
417 + !aqua? ( >=dev-python/PyQt4-4.9.5[${PYTHON_USEDEP},dbus,declarative,script(+),sql,svg,webkit,X] )
418 "
419 DEPEND="${RDEPEND}
420 sys-devel/libtool
421 "
422
423 pkg_setup() {
424 - python_pkg_setup
425 kde4-base_pkg_setup
426
427 have_python2=false
428
429 scan_python_versions() {
430 - [[ ${PYTHON_ABI} == 2.* ]] && have_python2=true
431 - :
432 + if [[ ${EPYTHON} == python2.* ]]; then
433 + have_python2=true
434 + fi
435 }
436 - python_execute_function -q scan_python_versions
437 + python_foreach_impl scan_python_versions
438 +
439 if ! ${have_python2}; then
440 ewarn "You do not have a Python 2 version selected."
441 ewarn "kpythonpluginfactory will not be built"
442 @@ -60,30 +60,35 @@ src_prepare() {
443 # See bug 322351
444 use arm && epatch "${FILESDIR}/${PN}-4.4.4-arm-sip.patch"
445
446 - sed -i -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' kpythonpluginfactory/CMakeLists.txt
447 + sed -e 's/kpythonpluginfactory /kpython${PYTHON_SHORT_VERSION}pluginfactory /g' \
448 + -i kpythonpluginfactory/CMakeLists.txt || die
449
450 if ${have_python2}; then
451 mkdir -p "${WORKDIR}/wrapper" || die "failed to copy wrapper"
452 cp "${FILESDIR}/kpythonpluginfactorywrapper.c-r1" "${WORKDIR}/wrapper/kpythonpluginfactorywrapper.c" || die "failed to copy wrapper"
453 fi
454 + python_copy_sources
455 +
456 }
457
458 src_configure() {
459 configuration() {
460 + pushd "${BUILD_DIR}" > /dev/null
461 local mycmakeargs=(
462 -DWITH_PolkitQt=OFF
463 -DWITH_QScintilla=OFF
464 $(cmake-utils_use_with semantic-desktop Soprano)
465 $(cmake-utils_use_with semantic-desktop Nepomuk)
466 $(cmake-utils_use_with semantic-desktop KdepimLibs)
467 - -DPYTHON_EXECUTABLE=$(PYTHON -a)
468 + -DPYTHON_EXECUTABLE=${PYTHON}
469 -DPYKDEUIC4_ALTINSTALL=TRUE
470 )
471 local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
472 kde4-base_src_configure
473 + popd > /dev/null
474 }
475
476 - python_execute_function configuration
477 + python_foreach_impl configuration
478 }
479
480 echo_and_run() {
481 @@ -93,13 +98,15 @@ echo_and_run() {
482
483 src_compile() {
484 compilation() {
485 + pushd "${BUILD_DIR}" > /dev/null
486 local CMAKE_BUILD_DIR=${S}_build-${PYTHON_ABI}
487 kde4-base_src_compile
488 + popd > /dev/null
489 }
490 - python_execute_function compilation
491 + python_foreach_impl compilation
492
493 if ${have_python2}; then
494 - cd "${WORKDIR}/wrapper"
495 + pushd "${WORKDIR}/wrapper" > /dev/null
496 echo_and_run libtool --tag=CC --mode=compile $(tc-getCC) \
497 -shared \
498 ${CFLAGS} ${CPPFLAGS} \
499 @@ -114,17 +121,22 @@ src_compile() {
500 -rpath "${EPREFIX}/usr/$(get_libdir)/kde4" \
501 kpythonpluginfactorywrapper.lo \
502 $(dlopen_lib)
503 + popd > /dev/null
504 fi
505 }
506
507 src_install() {
508 installation() {
509 - cd "${S}_build-${PYTHON_ABI}"
510 - emake DESTDIR="${T}/images/${PYTHON_ABI}" install
511 + pushd "${BUILD_DIR}" > /dev/null
512 + emake DESTDIR="${D}" install
513 + popd > /dev/null
514 +
515 + mv "${ED}"/usr/bin/pykdeuic4{,-${EPYTHON}} || die
516 + python_optimize
517 }
518 - python_execute_function installation
519 + python_foreach_impl installation
520
521 - python_merge_intermediate_installation_images "${T}/images"
522 + dosym python-exec /usr/bin/pykdeuic4
523
524 # As we don't call the eclass's src_install, we have to install the docs manually
525 DOCS=("${S}"/{AUTHORS,NEWS,README})
526 @@ -132,17 +144,16 @@ src_install() {
527 base_src_install_docs
528
529 if ${have_python2}; then
530 - cd "${WORKDIR}/wrapper"
531 + pushd "${WORKDIR}/wrapper" > /dev/null
532 echo_and_run libtool --mode=install install kpythonpluginfactory.la "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
533 rm "${ED}/usr/$(get_libdir)/kde4/kpythonpluginfactory.la"
534 + popd > /dev/null
535 fi
536 }
537
538 pkg_postinst() {
539 kde4-base_pkg_postinst
540
541 - python_mod_optimize PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plugins/kde4.py
542 -
543 if use examples; then
544 echo
545 elog "PyKDE4 examples have been installed to"
546 @@ -150,9 +161,3 @@ pkg_postinst() {
547 echo
548 fi
549 }
550 -
551 -pkg_postrm() {
552 - kde4-base_pkg_postrm
553 -
554 - python_mod_cleanup PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plugins/kde4.py
555 -}