summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-08-31 05:57:13 +0000
committerTim Harder <radhermit@gentoo.org>2014-08-31 05:57:13 +0000
commit73efa21295d16f4e63cd0b5654441f2871640dee (patch)
treece8163c68d37476cc6fb5f6cefdc5ea65e099cf4 /dev-vcs/hgview
parentVersion bump. (diff)
downloadgentoo-2-73efa21295d16f4e63cd0b5654441f2871640dee.tar.gz
gentoo-2-73efa21295d16f4e63cd0b5654441f2871640dee.tar.bz2
gentoo-2-73efa21295d16f4e63cd0b5654441f2871640dee.zip
Version bump.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
Diffstat (limited to 'dev-vcs/hgview')
-rw-r--r--dev-vcs/hgview/ChangeLog7
-rw-r--r--dev-vcs/hgview/hgview-1.8.2.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/dev-vcs/hgview/ChangeLog b/dev-vcs/hgview/ChangeLog
index a39e93194a8a..b9729db41402 100644
--- a/dev-vcs/hgview/ChangeLog
+++ b/dev-vcs/hgview/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-vcs/hgview
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/ChangeLog,v 1.14 2014/06/10 03:30:33 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/ChangeLog,v 1.15 2014/08/31 05:57:13 radhermit Exp $
+
+*hgview-1.8.2 (31 Aug 2014)
+
+ 31 Aug 2014; Tim Harder <radhermit@gentoo.org> +hgview-1.8.2.ebuild:
+ Version bump.
*hgview-1.8.1 (10 Jun 2014)
diff --git a/dev-vcs/hgview/hgview-1.8.2.ebuild b/dev-vcs/hgview/hgview-1.8.2.ebuild
new file mode 100644
index 000000000000..f9a40cf64a76
--- /dev/null
+++ b/dev-vcs/hgview/hgview-1.8.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgview/hgview-1.8.2.ebuild,v 1.1 2014/08/31 05:57:13 radhermit Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1
+
+DESCRIPTION="A Mercurial interactive history viewer"
+HOMEPAGE="http://www.logilab.org/project/hgview/ https://pypi.python.org/pypi/hgview/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ncurses +qt4"
+REQUIRED_USE="|| ( ncurses qt4 )"
+
+RDEPEND="dev-vcs/mercurial[${PYTHON_USEDEP}]
+ ncurses? (
+ >=dev-python/urwid-1.0.0[${PYTHON_USEDEP}]
+ dev-python/pyinotify[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ )
+ qt4? (
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/PyQt4[X,${PYTHON_USEDEP}]
+ dev-python/qscintilla-python[${PYTHON_USEDEP}]
+ )"
+DEPEND="${RDEPEND}
+ doc? (
+ app-text/asciidoc
+ app-text/xmlto
+ )"
+
+python_configure_all() {
+ mydistutilsargs=(
+ build $(use doc || echo --no-doc)
+ build $(use ncurses || echo --no-curses)
+ build $(use qt4 || echo --no-qt)
+ )
+}
+
+src_prepare() {
+ # https://www.logilab.org/ticket/103668
+ sed -i \
+ -e 's:MANDIR=$(PREFIX)/man:MANDIR=$(PREFIX)/share/man:' \
+ -e 's:$(INSTALL) $$i:$(INSTALL) -m 644 $$i:' \
+ doc/Makefile || die
+
+ distutils-r1_src_prepare
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ # Install Mercurial extension config file
+ insinto /etc/mercurial/hgrc.d
+ doins hgext/hgview.rc
+}