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.4.ebuild
Date: Tue, 01 Dec 2009 11:31:45
Message-Id: E1NFQxG-0000CD-1F@stork.gentoo.org
1 wired 09/12/01 11:31:38
2
3 Modified: ChangeLog
4 Added: pykde4-4.3.4.ebuild
5 Log:
6 Version bump KDE 4.3.4
7 (Portage version: 2.2_rc54/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.40 kde-base/pykde4/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 30 Nov 2009 06:54:38 -0000 1.39
23 +++ ChangeLog 1 Dec 2009 11:31:37 -0000 1.40
24 @@ -1,6 +1,11 @@
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.39 2009/11/30 06:54:38 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.40 2009/12/01 11:31:37 wired Exp $
29 +
30 +*pykde4-4.3.4 (01 Dec 2009)
31 +
32 + 01 Dec 2009; Alex Alexander <wired@g.o> +pykde4-4.3.4.ebuild:
33 + Version bump
34
35 30 Nov 2009; Joseph Jezak <josejx@g.o> pykde4-4.3.3.ebuild:
36 Marked ppc/ppc64 stable for bug #292455.
37
38
39
40 1.1 kde-base/pykde4/pykde4-4.3.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pykde4-4.3.4.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.3.4.ebuild,v 1.1 2009/12/01 11:31:37 wired Exp $
50
51 EAPI="2"
52
53 KMNAME="kdebindings"
54 KMMODULE="python/${PN}"
55 OPENGL_REQUIRED="always"
56 PYTHON_USE_WITH="threads"
57 inherit python kde4-meta
58
59 DESCRIPTION="Python bindings for KDE4"
60 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~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 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
66 akonadi? ( $(add_kdebase_dep kdepimlibs) )
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 pkg_setup() {
76 python_pkg_setup
77 kde4-meta_pkg_setup
78 }
79
80 src_prepare() {
81 kde4-meta_src_prepare
82
83 if ! use examples; then
84 sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
85 || die "Failed to disable examples"
86 fi
87 }
88
89 src_configure() {
90 mycmakeargs="${mycmakeargs}
91 -DWITH_QScintilla=OFF
92 $(cmake-utils_use_with semantic-desktop Soprano)
93 $(cmake-utils_use_with semantic-desktop Nepomuk)
94 $(cmake-utils_use_with akonadi)
95 $(cmake-utils_use_with akonadi KdepimLibs)
96 $(cmake-utils_use_with policykit PolkitQt)
97 "
98
99 kde4-meta_src_configure
100 }
101
102 src_install() {
103 kde4-meta_src_install
104
105 rm -f \
106 "${D}$(python_get_sitedir)"/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}$(python_get_sitedir)"/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}$(python_get_sitedir)"/PyKDE4
127 }