summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-05-07 00:22:11 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-05-07 00:22:11 +0000
commitee5e4f34061337ffcea150f1c790eea2f794e41c (patch)
tree823b8b79eb6d56c4166f6755dd39875eea0cc790 /kde-base/pykde4
parentRename modprobe.d/alsa file to alsa.conf. (diff)
downloadhistorical-ee5e4f34061337ffcea150f1c790eea2f794e41c.tar.gz
historical-ee5e4f34061337ffcea150f1c790eea2f794e41c.tar.bz2
historical-ee5e4f34061337ffcea150f1c790eea2f794e41c.zip
Version bump KDE 4.2.3
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'kde-base/pykde4')
-rw-r--r--kde-base/pykde4/ChangeLog7
-rw-r--r--kde-base/pykde4/pykde4-4.2.3.ebuild76
2 files changed, 82 insertions, 1 deletions
diff --git a/kde-base/pykde4/ChangeLog b/kde-base/pykde4/ChangeLog
index f76ec12d1ce8..f13a1b77e0b5 100644
--- a/kde-base/pykde4/ChangeLog
+++ b/kde-base/pykde4/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/pykde4
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.15 2009/04/17 06:43:36 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/ChangeLog,v 1.16 2009/05/07 00:18:23 scarabeus Exp $
+
+*pykde4-4.2.3 (07 May 2009)
+
+ 07 May 2009; Tomas Chvatal <scarabeus@gentoo.org> +pykde4-4.2.3.ebuild:
+ Version bump
17 Apr 2009; Alexey Shvetsov <alexxy@gentoo.org> -pykde4-4.2.1.ebuild,
pykde4-4.2.2, pykde4-4.2.2-r1:
diff --git a/kde-base/pykde4/pykde4-4.2.3.ebuild b/kde-base/pykde4/pykde4-4.2.3.ebuild
new file mode 100644
index 000000000000..036b43ed2f7b
--- /dev/null
+++ b/kde-base/pykde4/pykde4-4.2.3.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde4/pykde4-4.2.3.ebuild,v 1.1 2009/05/07 00:18:23 scarabeus Exp $
+
+EAPI="2"
+
+KMNAME="kdebindings"
+KMMODULE="python/${PN}"
+OPENGL_REQUIRED="always"
+inherit python kde4-meta
+
+DESCRIPTION="Python bindings for KDE4"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="akonadi debug examples semantic-desktop"
+
+DEPEND="
+ >=dev-python/PyQt4-4.4.4-r1[webkit]
+ >=kde-base/kdelibs-${PV}:${SLOT}[kdeprefix=,opengl,semantic-desktop?]
+ akonadi? ( >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=] )
+"
+# blocker added due to compatibility issues and error during compile time
+RDEPEND="${DEPEND}
+ !dev-python/pykde
+"
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ if ! use examples; then
+ sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i python/${PN}/CMakeLists.txt \
+ || die "Failed to disable examples"
+ fi
+}
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ -DWITH_QScintilla=OFF
+ $(cmake-utils_use_with semantic-desktop Soprano)
+ $(cmake-utils_use_with semantic-desktop Nepomuk)
+ $(cmake-utils_use_with akonadi Akonadi)
+ $(cmake-utils_use_with akonadi KdepimLibs)"
+
+ kde4-meta_src_configure
+}
+
+src_install() {
+ kde4-meta_src_install
+
+ python_version
+ rm -f \
+ "${D}/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4/*.py[co] \
+ "${D}${PREFIX}"/share/apps/"${PN}"/*.py[co]
+}
+
+pkg_postinst() {
+ kde4-meta_pkg_postinst
+
+ python_mod_optimize "/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4
+ # Do not optimize examples
+ python_mod_compile "${PREFIX}"/share/apps/"${PN}"/*.py
+
+ if use examples; then
+ echo
+ elog "PyKDE4 examples have been installed to"
+ elog "${PREFIX}/share/apps/${PN}/examples"
+ echo
+ fi
+}
+
+pkg_postrm() {
+ kde4-meta_pkg_postrm
+
+ python_mod_cleanup \
+ "/usr/$(get_libdir)/python${PYVER}"/site-packages/PyKDE4 \
+ "${PREFIX}"/share/apps/"${PN}"
+}