Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/pykde4: ChangeLog pykde4-4.3.5.ebuild
Date: Mon, 25 Jan 2010 17:36:19
Message-Id: E1NZSr8-0000NV-KP@stork.gentoo.org
1 scarabeus 10/01/25 17:36:06
2
3 Modified: ChangeLog
4 Added: pykde4-4.3.5.ebuild
5 Log:
6 Version bump KDE 4.3.5
7 (Portage version: 2.2_rc61/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.50 kde-base/pykde4/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.50&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?rev=1.50&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/ChangeLog?r1=1.49&r2=1.50
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v
19 retrieving revision 1.49
20 retrieving revision 1.50
21 diff -u -r1.49 -r1.50
22 --- ChangeLog 23 Jan 2010 17:06:00 -0000 1.49
23 +++ ChangeLog 25 Jan 2010 17:36:06 -0000 1.50
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.49 2010/01/23 17:06:00 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.50 2010/01/25 17:36:06 scarabeus Exp $
29 +
30 +*pykde4-4.3.5 (25 Jan 2010)
31 +
32 + 25 Jan 2010; Tomáš Chvátal <scarabeus@g.o> +pykde4-4.3.5.ebuild:
33 + Version bump
34
35 23 Jan 2010; Raúl Porcel <armin76@g.o> pykde4-4.3.4.ebuild:
36 Add ~arm
37
38
39
40 1.1 kde-base/pykde4/pykde4-4.3.5.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/pykde4/pykde4-4.3.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pykde4-4.3.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.3.5.ebuild,v 1.1 2010/01/25 17:36:06 scarabeus Exp $
50
51 EAPI="2"
52
53 KMNAME="kdebindings"
54 KMMODULE="python/pykde4"
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 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
61 IUSE="akonadi debug doc examples policykit semantic-desktop"
62
63 DEPEND="
64 $(add_kdebase_dep kdelibs 'opengl,semantic-desktop?')
65 aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,aqua] )
66 !aqua? ( >=dev-python/PyQt4-4.5[dbus,sql,svg,webkit,X] )
67 akonadi? ( $(add_kdebase_dep kdepimlibs) )
68 policykit? ( >=sys-auth/policykit-qt-0.9.2 )
69 "
70 # blocker added due to compatibility issues and error during compile time
71 RDEPEND="${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=(
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 if use doc; then
106 dohtml -r "${S}"/python/pykde4/docs/html/* || die 'dohtml failed'
107 fi
108
109 rm -f \
110 "${ED}$(python_get_sitedir)"/PyKDE4/*.py[co] \
111 "${ED}${PREFIX}"/share/apps/"${PN}"/*.py[co]
112 }
113
114 pkg_postinst() {
115 kde4-meta_pkg_postinst
116
117 python_mod_optimize "$(python_get_sitedir)"/PyKDE4
118
119 if use examples; then
120 echo
121 elog "PyKDE4 examples have been installed to"
122 elog "${EKDEDIR}/share/apps/${PN}/examples"
123 echo
124 fi
125 }
126
127 pkg_postrm() {
128 kde4-meta_pkg_postrm
129
130 python_mod_cleanup "$(python_get_sitedir)"/PyKDE4
131 }