Gentoo Archives: gentoo-commits

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