summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2008-12-03 07:39:28 +0000
committerPatrick Lauer <patrick@gentoo.org>2008-12-03 07:39:28 +0000
commit2645e75c83e2937ef19d76554267c0c30a5eb745 (patch)
treed816eb163365d5b2f7a33383f0b0442875fce6a9 /dev-python/pykde
parentFix quoting (diff)
downloadgentoo-2-2645e75c83e2937ef19d76554267c0c30a5eb745.tar.gz
gentoo-2-2645e75c83e2937ef19d76554267c0c30a5eb745.tar.bz2
gentoo-2-2645e75c83e2937ef19d76554267c0c30a5eb745.zip
Bumping to 3.16.2, closing #214062
(Portage version: 2.2_rc16/cvs/Linux 2.6.26.5 x86_64)
Diffstat (limited to 'dev-python/pykde')
-rw-r--r--dev-python/pykde/ChangeLog7
-rw-r--r--dev-python/pykde/pykde-3.16.2.ebuild62
2 files changed, 68 insertions, 1 deletions
diff --git a/dev-python/pykde/ChangeLog b/dev-python/pykde/ChangeLog
index 9b5b5e8c38e3..f0bfd3875c04 100644
--- a/dev-python/pykde/ChangeLog
+++ b/dev-python/pykde/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pykde
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pykde/ChangeLog,v 1.37 2008/02/19 01:29:37 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pykde/ChangeLog,v 1.38 2008/12/03 07:39:28 patrick Exp $
+
+*pykde-3.16.2 (03 Dec 2008)
+
+ 03 Dec 2008; Patrick Lauer <patrick@gentoo.org> +pykde-3.16.2.ebuild:
+ Bumping to 3.16.2, closing 214062
19 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> -pykde-3.16.0.ebuild:
Old.
diff --git a/dev-python/pykde/pykde-3.16.2.ebuild b/dev-python/pykde/pykde-3.16.2.ebuild
new file mode 100644
index 000000000000..ab8643348e19
--- /dev/null
+++ b/dev-python/pykde/pykde-3.16.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pykde/pykde-3.16.2.ebuild,v 1.1 2008/12/03 07:39:28 patrick Exp $
+
+inherit kde eutils distutils
+
+MY_P="PyKDE-${PV/*_pre/snapshot}"
+MY_P=${MY_P/_/}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="PyKDE is a set of Python bindings for kdelibs."
+HOMEPAGE="http://www.riverbankcomputing.co.uk/pykde/"
+#SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+SRC_URI="http://www.riverbankcomputing.com/Downloads/PyKDE3/${MY_P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="debug doc examples"
+
+#Wow, this can't work - kdebase will block kdelibs
+#DEPEND="|| ( =kde-base/kdebase-3.5* =kde-base/konsole-3.5* )"
+RDEPEND=">=dev-python/sip-4.7
+ >=dev-python/PyQt-3.17.3
+ =kde-base/kdelibs-3.5*
+ !kde-base/pykde"
+DEPEND="${RDEPEND} =kde-base/konsole-3.5*"
+
+#src_unpack() {
+# unpack ${A}
+# epatch "${FILESDIR}"/PyKDE-3.16.0-sip-4.7.patch
+#}
+
+src_compile() {
+ distutils_python_version
+ echo $PATH
+ local myconf="-d /usr/$(get_libdir)/python${PYVER}/site-packages \
+ -v /usr/share/sip \
+ -k $(kde-config --prefix)
+ -L $(get_libdir)"
+
+ use debug && myconf="${myconf} -u"
+ myconf="${myconf} -i"
+
+ "${python}" configure.py ${myconf}
+ emake || die "emake install failed"
+}
+
+src_install() {
+ dodir /usr/kde/3.5/lib/
+ sed -i -e 's:/usr/kde/3.5/lib/libkonsolepart.so:$(DESTDIR)/usr/kde/3.5/lib/libkonsolepart.so:' Makefile
+ emake DESTDIR="${D}" install || die "emake install failed"
+# 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
+ insinto "/usr/share/doc/${PF}"
+ doins -r examples
+ doins -r templates
+ fi
+}