summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-05-23 02:40:52 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-05-23 02:40:52 +0000
commit6eaada883d45ca2d85ae9a16d8cfef423fa063de (patch)
tree6505bb57385bcfb2708a5a409dde73b93538b5a9 /kde-base
parentVersion bump. (diff)
downloadgentoo-2-6eaada883d45ca2d85ae9a16d8cfef423fa063de.tar.gz
gentoo-2-6eaada883d45ca2d85ae9a16d8cfef423fa063de.tar.bz2
gentoo-2-6eaada883d45ca2d85ae9a16d8cfef423fa063de.zip
Version bump.
(Portage version: 2.1.2.7)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/pykde/ChangeLog7
-rw-r--r--kde-base/pykde/files/digest-pykde-3.5.73
-rw-r--r--kde-base/pykde/pykde-3.5.7.ebuild60
3 files changed, 69 insertions, 1 deletions
diff --git a/kde-base/pykde/ChangeLog b/kde-base/pykde/ChangeLog
index 5ad5d385b3fe..2f4f1bded27b 100644
--- a/kde-base/pykde/ChangeLog
+++ b/kde-base/pykde/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-base/pykde
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde/ChangeLog,v 1.26 2007/02/20 16:58:15 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde/ChangeLog,v 1.27 2007/05/23 02:40:52 carlo Exp $
+
+*pykde-3.5.7 (23 May 2007)
+
+ 23 May 2007; Carsten Lohrke <carlo@gentoo.org> +pykde-3.5.7.ebuild:
+ Version bump.
20 Feb 2007; Simon Stelling <blubb@gentoo.org> pykde-3.5.5-r1.ebuild,
pykde-3.5.5-r2.ebuild, pykde-3.5.6.ebuild:
diff --git a/kde-base/pykde/files/digest-pykde-3.5.7 b/kde-base/pykde/files/digest-pykde-3.5.7
new file mode 100644
index 000000000000..05bcfa5cf6e3
--- /dev/null
+++ b/kde-base/pykde/files/digest-pykde-3.5.7
@@ -0,0 +1,3 @@
+MD5 bc8a95f0cfd52ad0559a775cf045f230 kdebindings-3.5.7.tar.bz2 5577725
+RMD160 847907a204fe02e3a99a9d51a719d203d8831099 kdebindings-3.5.7.tar.bz2 5577725
+SHA256 a453e3097231c3ec278f50009bfd348dea9d818a41ac6e3940b234e46f596043 kdebindings-3.5.7.tar.bz2 5577725
diff --git a/kde-base/pykde/pykde-3.5.7.ebuild b/kde-base/pykde/pykde-3.5.7.ebuild
new file mode 100644
index 000000000000..d36600c8f877
--- /dev/null
+++ b/kde-base/pykde/pykde-3.5.7.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/pykde/pykde-3.5.7.ebuild,v 1.1 2007/05/23 02:40:52 carlo Exp $
+
+KMNAME=kdebindings
+KMMODULE=python
+KM_MAKEFILESREV=1
+MAXKDEVER=$PV
+KM_DEPRANGE="$PV $MAXKDEVER"
+
+inherit kde-meta distutils
+
+DESCRIPTION="PyKDE is a set of Python bindings for kdelibs."
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug doc examples"
+
+DEPEND="~dev-python/sip-4.2.1
+ ~dev-python/PyQt-3.14.1
+ kde-base/kdelibs
+ !dev-python/pykde"
+
+PATCHES="${FILESDIR}/${P}-python-2.4.patch"
+
+src_unpack() {
+ kde-meta_src_unpack
+ cd ${S}/python/pykde
+ epatch "${FILESDIR}/configure.py.diff"
+}
+
+src_compile() {
+ cd ${S}/python/pykde
+ distutils_python_version
+
+ local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages \
+ -v /usr/share/sip \
+ -k $(kde-config --prefix) \
+ -t ${S}/python/pykde"
+
+ use debug && myconf="${myconf} -u"
+ myconf="${myconf} -i"
+
+ python configure.py ${myconf} || die "configure failed"
+ emake || die
+}
+
+src_install() {
+ cd ${S}/python/pykde
+ make DESTDIR=${D} install || die
+ find ${D}/usr/share/sip -not -type d -not -iname *.sip -exec rm '{}' \;
+
+ dodoc AUTHORS ChangeLog NEWS README THANKS
+ use doc && dohtml -r doc/*
+ if use examples ; then
+ cp -r examples ${D}/usr/share/doc/${PF}
+ cp -r templates ${D}/usr/share/doc/${PF}
+ fi
+}