summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-03 21:39:34 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-03 21:39:34 +0000
commit80c7e54da873cd19aa4fe0c2c1e6b9bcd05cfd15 (patch)
treef81c18ea22d75b9a5c95bcd19c776c9bb11a396c /dev-vcs/hgview
parentenabled support for sse4 in qt-4.7.2, bug #344915 (diff)
downloadgentoo-2-80c7e54da873cd19aa4fe0c2c1e6b9bcd05cfd15.tar.gz
gentoo-2-80c7e54da873cd19aa4fe0c2c1e6b9bcd05cfd15.tar.bz2
gentoo-2-80c7e54da873cd19aa4fe0c2c1e6b9bcd05cfd15.zip
Version bump. Set SUPPORT_PYTHON_ABIS (bug #329487).
(Portage version: 2.2.0_alpha26_p5/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs/hgview')
-rw-r--r--dev-vcs/hgview/ChangeLog10
-rw-r--r--dev-vcs/hgview/hgview-1.2.1.ebuild47
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-vcs/hgview/ChangeLog b/dev-vcs/hgview/ChangeLog
index ffeb4d8b5dae..921872ab1474 100644
--- a/dev-vcs/hgview/ChangeLog
+++ b/dev-vcs/hgview/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-vcs/hgview
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/ChangeLog,v 1.3 2010/06/28 16:48:31 tampakrap Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/ChangeLog,v 1.4 2011/03/03 21:39:34 arfrever Exp $
+
+*hgview-1.2.1 (03 Mar 2011)
+
+ 03 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -hgview-1.2.0.ebuild, +hgview-1.2.1.ebuild:
+ Version bump. Set SUPPORT_PYTHON_ABIS (bug #329487).
28 Jun 2010; Theo Chatzimichos <tampakrap@gentoo.org> hgview-1.2.0.ebuild,
+files/hgview.rc:
diff --git a/dev-vcs/hgview/hgview-1.2.1.ebuild b/dev-vcs/hgview/hgview-1.2.1.ebuild
new file mode 100644
index 000000000000..6022266a2644
--- /dev/null
+++ b/dev-vcs/hgview/hgview-1.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/hgview-1.2.1.ebuild,v 1.1 2011/03/03 21:39:34 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
+
+inherit distutils
+
+DESCRIPTION="PyQt4-based Mercurial log navigator"
+HOMEPAGE="http://www.logilab.org/project/name/hgview http://pypi.python.org/pypi/hgview"
+SRC_URI="http://ftp.logilab.org/pub/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="dev-python/docutils
+ dev-python/egenix-mx-base
+ dev-python/PyQt4[X]
+ dev-python/qscintilla-python
+ dev-vcs/mercurial
+ doc? ( app-text/asciidoc )"
+RDEPEND="${DEPEND}"
+
+PYTHON_MODNAME="hgext/hgview.py hgviewlib"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Fix mercurial extension install path.
+ if ! use doc; then
+ sed -e '/make -C doc/d' -i setup.py || die "sed failed"
+ sed -e '/share\/man\/man1/,+1 d' -i hgviewlib/__pkginfo__.py || die "sed failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ # Install the mercurial extension config.
+ insinto /etc/mercurial/hgrc.d || die "insinto failed"
+ doins "${FILESDIR}/hgview.rc" || die "doins failed"
+}