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.5.2.ebuild
Date: Wed, 06 Oct 2010 10:14:06
Message-Id: 20101006091724.D2A3820076@flycatcher.gentoo.org
1 alexxy 10/10/06 09:17:24
2
3 Modified: ChangeLog
4 Added: pykde4-4.5.2.ebuild
5 Log:
6 Add KDE SC 4.5.2 =)
7
8 (Portage version: 2.2_rc88_p115/cvs/Linux x86_64, RepoMan options: --force)
9
10 Revision Changes Path
11 1.91 kde-base/pykde4/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.91&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.91&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.90&r2=1.91
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v
20 retrieving revision 1.90
21 retrieving revision 1.91
22 diff -u -r1.90 -r1.91
23 --- ChangeLog 11 Sep 2010 02:24:02 -0000 1.90
24 +++ ChangeLog 6 Oct 2010 09:17:24 -0000 1.91
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/pykde4
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.90 2010/09/11 02:24:02 jmbsvicetto Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.91 2010/10/06 09:17:24 alexxy Exp $
30 +
31 +*pykde4-4.5.2 (05 Oct 2010)
32 +
33 + 05 Oct 2010; Alexey Shvetsov <alexxy@g.o> +pykde4-4.5.2.ebuild:
34 + Version bump KDE SC 4.5.2
35
36 11 Sep 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
37 +pykde4-4.5.1-r1.ebuild:
38
39
40
41 1.1 kde-base/pykde4/pykde4-4.5.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/pykde4-4.5.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/pykde4/pykde4-4.5.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pykde4-4.5.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.5.2.ebuild,v 1.1 2010/10/06 09:17:24 alexxy Exp $
51
52 EAPI="3"
53
54 KMNAME="kdebindings"
55 KMMODULE="python/pykde4"
56 OPENGL_REQUIRED="always"
57 PYTHON_USE_WITH="threads"
58 RESTRICT_PYTHON_ABIS="2.4"
59 inherit python kde4-meta
60
61 DESCRIPTION="Python bindings for KDE4"
62 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
63 IUSE="debug doc examples semantic-desktop"
64
65 # blocker added due to compatibility issues and error during compile time
66 # Added specific PyQt4 and sip deps to fix bug 332503.
67 DEPEND="
68 !dev-python/pykde
69 >dev-python/PyQt4-4.7.3
70 >dev-python/sip-4.10
71 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
72 semantic-desktop? ( $(add_kdebase_dep kdepimlibs 'semantic-desktop') )
73 aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,aqua] )
74 !aqua? ( >=dev-python/PyQt4-4.7[dbus,sql,svg,webkit,X] )
75 "
76 RDEPEND="${DEPEND}"
77
78 PATCHES=( "${FILESDIR}/${PN}-mapped-type-fix.patch" )
79
80 pkg_setup() {
81 python_pkg_setup
82 kde4-meta_pkg_setup
83 }
84
85 src_prepare() {
86 kde4-meta_src_prepare
87
88 if ! use examples; then
89 sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
90 || die "Failed to disable examples"
91 fi
92
93 # See bug 322351
94 use arm && epatch "${FILESDIR}/${PN}-4.4.4-arm-sip.patch"
95 }
96
97 src_configure() {
98 mycmakeargs=(
99 -DWITH_QScintilla=OFF
100 -DWITH_PolkitQt=OFF
101 $(cmake-utils_use_with semantic-desktop Soprano)
102 $(cmake-utils_use_with semantic-desktop Nepomuk)
103 $(cmake-utils_use_with semantic-desktop KdepimLibs)
104 )
105
106 kde4-meta_src_configure
107 }
108
109 src_install() {
110 use doc && HTML_DOCS=("${S}/python/pykde4/docs/html/")
111
112 kde4-meta_src_install
113
114 python_convert_shebangs -q -r $(python_get_version) "${ED}"
115 python_clean_installation_image -q
116 }
117
118 pkg_postinst() {
119 kde4-meta_pkg_postinst
120
121 python_mod_optimize PyKDE4 PyQt4
122
123 if use examples; then
124 echo
125 elog "PyKDE4 examples have been installed to"
126 elog "${EKDEDIR}/share/apps/${PN}/examples"
127 echo
128 fi
129 }
130
131 pkg_postrm() {
132 kde4-meta_pkg_postrm
133
134 python_mod_cleanup PyKDE4 PyQt4
135 }