summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-21 22:24:45 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-21 22:24:45 +0200
commitb4b6a59dae6cae85fc457db3943b96da0dc8ec83 (patch)
tree4842121479e5e5f64efb3b47c723853f1a4f3d5c /dev-vcs/hgview
parentdev-vcs/hgview: Drop USE=qt4, bug #634974 (diff)
downloadgentoo-b4b6a59dae6cae85fc457db3943b96da0dc8ec83.tar.gz
gentoo-b4b6a59dae6cae85fc457db3943b96da0dc8ec83.tar.bz2
gentoo-b4b6a59dae6cae85fc457db3943b96da0dc8ec83.zip
dev-vcs/hgview: Drop old
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'dev-vcs/hgview')
-rw-r--r--dev-vcs/hgview/hgview-1.9.0.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/dev-vcs/hgview/hgview-1.9.0.ebuild b/dev-vcs/hgview/hgview-1.9.0.ebuild
deleted file mode 100644
index 2fb8088d6207..000000000000
--- a/dev-vcs/hgview/hgview-1.9.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_IN_SOURCE_BUILD=1
-inherit distutils-r1
-
-DESCRIPTION="A Mercurial interactive history viewer"
-HOMEPAGE="https://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[qt4(+),${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
-}