From 2198ff86a0af194e4161eb3e53bd3ca1ccafecd0 Mon Sep 17 00:00:00 2001 From: Wulf Krueger Date: Fri, 19 Oct 2007 23:57:04 +0000 Subject: Bump to KDE 3.5.8. (Portage version: 2.1.3.15) --- kde-base/pykde/pykde-3.5.8.ebuild | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 kde-base/pykde/pykde-3.5.8.ebuild (limited to 'kde-base/pykde/pykde-3.5.8.ebuild') diff --git a/kde-base/pykde/pykde-3.5.8.ebuild b/kde-base/pykde/pykde-3.5.8.ebuild new file mode 100644 index 000000000000..4aab55cd3049 --- /dev/null +++ b/kde-base/pykde/pykde-3.5.8.ebuild @@ -0,0 +1,58 @@ +# 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.8.ebuild,v 1.1 2007/10/19 23:57:03 philantrop 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" + +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 +} -- cgit v1.2.3-65-gdbad