From 7627af37997153ac6b32b05d6fdc21fdb7f262cf Mon Sep 17 00:00:00 2001 From: "maciag.artur" Date: Fri, 2 Jan 2009 14:47:22 +0000 Subject: hgview (mercurial gui) live ebuild added git-svn-id: http://piczu-overlay.googlecode.com/svn/trunk@32 0805d722-a2c2-11dd-9b86-41075523de00 --- dev-util/hgview/Manifest | 1 + dev-util/hgview/hgview-9999.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 dev-util/hgview/Manifest create mode 100644 dev-util/hgview/hgview-9999.ebuild (limited to 'dev-util') diff --git a/dev-util/hgview/Manifest b/dev-util/hgview/Manifest new file mode 100644 index 0000000..98b7852 --- /dev/null +++ b/dev-util/hgview/Manifest @@ -0,0 +1 @@ +EBUILD hgview-9999.ebuild 682 RMD160 93569272bd2e8b2042d6fb5f9bbe786f5c42fa8e SHA1 0428341ad43fce220565bd323b1ef14f8dd34233 SHA256 e59e32766401e4237944aa7a9a415e1148330f7cf127572672c1b948f350c2d2 diff --git a/dev-util/hgview/hgview-9999.ebuild b/dev-util/hgview/hgview-9999.ebuild new file mode 100644 index 0000000..cebfc3e --- /dev/null +++ b/dev-util/hgview/hgview-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: Exp $ + +inherit distutils mercurial + +EHG_REPO_URI="http://www.logilab.org/cgi-bin/hgwebdir.cgi/hgview" + +DESCRIPTION="Gtk and Qt Mercurial interfaces" +HOMEPAGE="http://www.logilab.org/project/name/hgview" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="gtk qt4" + +RDEPEND="virtual/python + gtk? ( dev-python/pygtk ) + qt4? ( dev-python/PyQt4 )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" + +pkg_setup() { + if ! use gtk && ! use qt4; then + eerror "At least one of the following USE flags is required:" + eerror "gtk or/and qt4" + die "gtk or/and qt4 USE flag needed" + fi +} -- cgit v1.2.3-65-gdbad