summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-07-23 22:48:37 +0000
committerAlex Alexander <wired@gentoo.org>2009-07-23 22:48:37 +0000
commitb75cb89ded1c635b02fc7d859808c49965073398 (patch)
tree19f6ab92e40459f1b13a94d7c5144b732e819857 /dev-util/hgview
parentClean up old revisions. (diff)
downloadgentoo-2-b75cb89ded1c635b02fc7d859808c49965073398.tar.gz
gentoo-2-b75cb89ded1c635b02fc7d859808c49965073398.tar.bz2
gentoo-2-b75cb89ded1c635b02fc7d859808c49965073398.zip
ebuild for hgview, bug 274562
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/hgview')
-rw-r--r--dev-util/hgview/ChangeLog10
-rw-r--r--dev-util/hgview/hgview-1.0.0.ebuild39
-rw-r--r--dev-util/hgview/metadata.xml6
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/hgview/ChangeLog b/dev-util/hgview/ChangeLog
new file mode 100644
index 000000000000..b5c6f329859d
--- /dev/null
+++ b/dev-util/hgview/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/hgview
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/hgview/ChangeLog,v 1.1 2009/07/23 22:48:37 wired Exp $
+
+*hgview-1.0.0 (23 Jul 2009)
+
+ 23 Jul 2009; Alex Alexander <wired@gentoo.org> +hgview-1.0.0.ebuild,
+ +metadata.xml:
+ ebuild for hgview, bug 274562, thanks to Martin Gysel, Dror, Davide
+
diff --git a/dev-util/hgview/hgview-1.0.0.ebuild b/dev-util/hgview/hgview-1.0.0.ebuild
new file mode 100644
index 000000000000..2d0024591bfc
--- /dev/null
+++ b/dev-util/hgview/hgview-1.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/hgview/hgview-1.0.0.ebuild,v 1.1 2009/07/23 22:48:37 wired Exp $
+
+EAPI="2"
+
+inherit distutils
+
+DESCRIPTION="PyQt4 based Mercurial log navigator"
+HOMEPAGE="http://www.logilab.org/project/name/hgview"
+SRC_URI="http://ftp.logilab.org/pub/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/egenix-mx-base
+ dev-python/PyQt4[X]
+ dev-python/qscintilla-python"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # fix mercurial extension install path
+ local origdir="share/python-support/mercurial-common/hgext"
+ local sitedir="$(python_get_sitedir)/hgext"
+ sed -i -e "s:${origdir}:${sitedir#/usr/}:" \
+ "${S}/hgviewlib/__pkginfo__.py" || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+
+ # install the mercurial extension config
+ insinto /etc/mercurial/hgrc.d || die
+ doins hgext/hgview.rc || die
+}
diff --git a/dev-util/hgview/metadata.xml b/dev-util/hgview/metadata.xml
new file mode 100644
index 000000000000..46f151f3da59
--- /dev/null
+++ b/dev-util/hgview/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+</pkgmetadata>
+