Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/pykde4: ChangeLog pykde4-4.4.5.ebuild
Date: Wed, 30 Jun 2010 15:39:05
Message-Id: 20100630153652.52FDD2CF5D@corvid.gentoo.org
1 alexxy 10/06/30 15:36:52
2
3 Modified: ChangeLog
4 Added: pykde4-4.4.5.ebuild
5 Log:
6 [kde-base] Bump KDE SC 4.4.5 =)
7 (Portage version: 2.2_rc67_p182/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.77 kde-base/pykde4/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.77&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.77&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.76&r2=1.77
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v
19 retrieving revision 1.76
20 retrieving revision 1.77
21 diff -u -r1.76 -r1.77
22 --- ChangeLog 30 Jun 2010 01:07:22 -0000 1.76
23 +++ ChangeLog 30 Jun 2010 15:36:52 -0000 1.77
24 @@ -1,6 +1,11 @@
25 # ChangeLog for kde-base/pykde4
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.76 2010/06/30 01:07:22 reavertm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.77 2010/06/30 15:36:52 alexxy Exp $
29 +
30 +*pykde4-4.5.9999 (30 Jun 2010)
31 +
32 + 30 Jun 2010; Alexey Shvetsov <alexxy@g.o> +pykde4-4.5.9999.ebuild:
33 + Version bump
34
35 30 Jun 2010; Maciej Mrozowski <reavertm@g.o> pykde4-4.4.4.ebuild,
36 +files/pykde4-4.4.4-arm-sip.patch:
37
38
39
40 1.1 kde-base/pykde4/pykde4-4.4.5.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/pykde4-4.4.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/pykde4-4.4.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pykde4-4.4.5.ebuild
46 ===================================================================
47 # Copyright 1999-2010 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.4.5.ebuild,v 1.1 2010/06/30 15:36:52 alexxy Exp $
50
51 EAPI="3"
52
53 KMNAME="kdebindings"
54 KMMODULE="python/pykde4"
55 OPENGL_REQUIRED="always"
56 PYTHON_USE_WITH="threads"
57 RESTRICT_PYTHON_ABIS="2.4"
58 inherit python kde4-meta
59
60 DESCRIPTION="Python bindings for KDE4"
61 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
62 IUSE="debug doc examples semantic-desktop"
63
64 # blocker added due to compatibility issues and error during compile time
65 DEPEND="
66 !dev-python/pykde
67 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
68 semantic-desktop? ( $(add_kdebase_dep kdepimlibs 'semantic-desktop') )
69 aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,aqua] )
70 !aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,X] )
71 "
72 RDEPEND="${DEPEND}"
73
74 pkg_setup() {
75 python_pkg_setup
76 kde4-meta_pkg_setup
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 # See bug 322351
88 use arm && epatch "${FILESDIR}/${P}-4.4.4-arm-sip.patch"
89 }
90
91 src_configure() {
92 mycmakeargs=(
93 -DWITH_QScintilla=OFF
94 -DWITH_PolkitQt=OFF
95 $(cmake-utils_use_with semantic-desktop Soprano)
96 $(cmake-utils_use_with semantic-desktop Nepomuk)
97 $(cmake-utils_use_with semantic-desktop KdepimLibs)
98 )
99
100 kde4-meta_src_configure
101 }
102
103 src_install() {
104 use doc && HTML_DOCS=("${S}/python/pykde4/docs/html/")
105
106 kde4-meta_src_install
107
108 python_convert_shebangs -r $(python_get_version) "${ED}"
109 python_clean_installation_image
110 }
111
112 pkg_postinst() {
113 kde4-meta_pkg_postinst
114
115 python_mod_optimize PyKDE4 PyQt4
116
117 if use examples; then
118 echo
119 elog "PyKDE4 examples have been installed to"
120 elog "${EKDEDIR}/share/apps/${PN}/examples"
121 echo
122 fi
123 }
124
125 pkg_postrm() {
126 kde4-meta_pkg_postrm
127
128 python_mod_cleanup PyKDE4 PyQt4
129 }