From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qa52i-0004eH-Hl for garchives@archives.gentoo.org; Fri, 24 Jun 2011 11:59:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CD4E1C04E; Fri, 24 Jun 2011 11:59:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 371301C010 for ; Fri, 24 Jun 2011 11:59:09 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9625D1B400D for ; Fri, 24 Jun 2011 11:59:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id ED4178003C for ; Fri, 24 Jun 2011 11:59:07 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: Subject: [gentoo-commits] proj/kde:master commit in: kde-base/pykde4/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/pykde4/pykde4-4.6.90.ebuild X-VCS-Directories: kde-base/pykde4/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: c258a74daaf14a707d96d8f860e6921a6336adc0 Date: Fri, 24 Jun 2011 11:59:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: cbfbf975b884360aecf1fdc484d93f81 commit: c258a74daaf14a707d96d8f860e6921a6336adc0 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) ge= ntoo org> AuthorDate: Thu Jun 23 23:25:38 2011 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org= > CommitDate: Fri Jun 24 11:51:17 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Dc258a74d [kde-base/pykde4] 4.6.90 version bump. (Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit = with key BB0E6E98) --- kde-base/pykde4/pykde4-4.6.90.ebuild | 86 ++++++++++++++++++++++++++++= ++++++ 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/kde-base/pykde4/pykde4-4.6.90.ebuild b/kde-base/pykde4/pykde= 4-4.6.90.ebuild new file mode 100644 index 0000000..4988bf8 --- /dev/null +++ b/kde-base/pykde4/pykde4-4.6.90.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D3 + +OPENGL_REQUIRED=3D"always" +PYTHON_USE_WITH=3D"threads" +RESTRICT_PYTHON_ABIS=3D"2.4" +KDE_SCM=3D"git" +EGIT_REPONAME=3D"pykde4" +inherit python kde4-base + +DESCRIPTION=3D"Python bindings for KDE4" +KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE=3D"debug doc examples semantic-desktop" + +# blocker added due to compatibility issues and error during compile tim= e +DEPEND=3D" + !dev-python/pykde + >=3Ddev-python/sip-4.12 + $(add_kdebase_dep kdelibs 'opengl,semantic-desktop=3D') + semantic-desktop? ( $(add_kdebase_dep kdepimlibs 'semantic-desktop') ) + aqua? ( >=3Ddev-python/PyQt4-4.8.2[dbus,declarative,sql,svg,webkit,aqua= ] ) + !aqua? ( >=3Ddev-python/PyQt4-4.8.2[dbus,declarative,sql,svg,webkit,X] = ) +" +RDEPEND=3D"${DEPEND}" + +pkg_setup() { + python_pkg_setup + kde4-base_pkg_setup +} + +src_prepare() { + kde4-base_src_prepare + + if ! use examples; then + sed -e '/^ADD_SUBDIRECTORY(examples)/s/^/# DISABLED /' -i CMakeLists.t= xt \ + || die "Failed to disable examples" + fi + + # See bug 322351 + use arm && epatch "${FILESDIR}/${PN}-4.4.4-arm-sip.patch" +} + +src_configure() { + # Required for KTabWidget::label + append-cxxflags -DKDE3_SUPPORT + + mycmakeargs=3D( + -DWITH_PolkitQt=3DOFF + -DWITH_QScintilla=3DOFF + $(cmake-utils_use_with semantic-desktop Soprano) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with semantic-desktop KdepimLibs) + ) + + kde4-base_src_configure +} + +src_install() { + use doc && HTML_DOCS=3D("${S}/docs/html/") + + kde4-base_src_install + + python_convert_shebangs -q -r $(python_get_version) "${ED}" +} + +pkg_postinst() { + kde4-base_pkg_postinst + + python_mod_optimize PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plug= ins/kde4.py + + if use examples; then + echo + elog "PyKDE4 examples have been installed to" + elog "${EPREFIX}/usr/share/apps/${PN}/examples" + echo + fi +} + +pkg_postrm() { + kde4-base_pkg_postrm + + python_mod_cleanup PyKDE4 PyQt4/uic/pykdeuic4.py PyQt4/uic/widget-plugi= ns/kde4.py +}