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