Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/pykde4: ChangeLog pykde4-4.3.0.ebuild
Date: Tue, 04 Aug 2009 01:33:30
Message-Id: E1MY8u8-0006kB-Os@stork.gentoo.org
1 wired 09/08/04 01:33:28
2
3 Modified: ChangeLog
4 Added: pykde4-4.3.0.ebuild
5 Log:
6 Version bump KDE 4.3.0
7 (Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.25 kde-base/pykde4/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 16 Jun 2009 15:27:57 -0000 1.24
23 +++ ChangeLog 4 Aug 2009 01:33:28 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for kde-base/pykde4
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.24 2009/06/16 15:27:57 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.25 2009/08/04 01:33:28 wired Exp $
29 +
30 +*pykde4-4.3.0 (04 Aug 2009)
31 +
32 + 04 Aug 2009; Alex Alexander <wired@g.o>
33 + +files/pykde4-installation-fix.patch, +pykde4-4.3.0.ebuild:
34 + Version bump
35
36 *pykde4-4.2.4-r2 (16 Jun 2009)
37
38
39
40
41 1.1 kde-base/pykde4/pykde4-4.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pykde4-4.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.0.ebuild,v 1.1 2009/08/04 01:33:28 wired Exp $
51
52 EAPI="2"
53
54 KMNAME="kdebindings"
55 KMMODULE="python/${PN}"
56 OPENGL_REQUIRED="always"
57 inherit python kde4-meta
58
59 DESCRIPTION="Python bindings for KDE4"
60 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
61 IUSE="akonadi debug examples policykit semantic-desktop"
62
63 COMMON_DEPEND="
64 >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X]
65 >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,opengl,semantic-desktop?]
66 akonadi? ( >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=] )
67 policykit? ( >=sys-auth/policykit-qt-0.9.2 )
68 "
69 DEPEND="${COMMON_DEPEND}"
70 # blocker added due to compatibility issues and error during compile time
71 RDEPEND="${COMMON_DEPEND}
72 !dev-python/pykde
73 "
74
75 #PATCHES=(
76 # "${FILESDIR}/${PN}-installation-fix.patch"
77 #)
78
79 src_prepare() {
80 kde4-meta_src_prepare
81
82 if ! use examples; then
83 sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
84 || die "Failed to disable examples"
85 fi
86 }
87
88 src_configure() {
89 mycmakeargs="${mycmakeargs}
90 -DWITH_QScintilla=OFF
91 $(cmake-utils_use_with semantic-desktop Soprano)
92 $(cmake-utils_use_with semantic-desktop Nepomuk)
93 $(cmake-utils_use_with akonadi)
94 $(cmake-utils_use_with akonadi KdepimLibs)
95 $(cmake-utils_use_with policykit PolkitQt)
96 "
97
98 kde4-meta_src_configure
99 }
100
101 src_install() {
102 kde4-meta_src_install
103
104 python_version
105 rm -f \
106 "${D}/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4/*.py[co] \
107 "${D}${PREFIX}"/share/apps/"${PN}"/*.py[co]
108 }
109
110 pkg_postinst() {
111 kde4-meta_pkg_postinst
112
113 python_mod_optimize ${ROOT}"usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4
114
115 if use examples; then
116 echo
117 elog "PyKDE4 examples have been installed to"
118 elog "${PREFIX}/share/apps/${PN}/examples"
119 echo
120 fi
121 }
122
123 pkg_postrm() {
124 kde4-meta_pkg_postrm
125
126 python_mod_cleanup ${ROOT}"usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4
127 }