1 |
commit: b4b6a59dae6cae85fc457db3943b96da0dc8ec83 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 21 20:24:45 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 21 20:24:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b6a59d |
7 |
|
8 |
dev-vcs/hgview: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.12, Repoman-2.3.3 |
11 |
|
12 |
dev-vcs/hgview/hgview-1.9.0.ebuild | 60 -------------------------------------- |
13 |
1 file changed, 60 deletions(-) |
14 |
|
15 |
diff --git a/dev-vcs/hgview/hgview-1.9.0.ebuild b/dev-vcs/hgview/hgview-1.9.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 2fb8088d620..00000000000 |
18 |
--- a/dev-vcs/hgview/hgview-1.9.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,60 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-PYTHON_COMPAT=( python2_7 ) |
26 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
27 |
-inherit distutils-r1 |
28 |
- |
29 |
-DESCRIPTION="A Mercurial interactive history viewer" |
30 |
-HOMEPAGE="https://www.logilab.org/project/hgview/ https://pypi.python.org/pypi/hgview/" |
31 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="GPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~amd64 ~x86" |
36 |
-IUSE="doc ncurses +qt4" |
37 |
-REQUIRED_USE="|| ( ncurses qt4 )" |
38 |
- |
39 |
-RDEPEND="dev-vcs/mercurial[${PYTHON_USEDEP}] |
40 |
- ncurses? ( |
41 |
- >=dev-python/urwid-1.0.0[${PYTHON_USEDEP}] |
42 |
- dev-python/pyinotify[${PYTHON_USEDEP}] |
43 |
- dev-python/pygments[${PYTHON_USEDEP}] |
44 |
- ) |
45 |
- qt4? ( |
46 |
- dev-python/docutils[${PYTHON_USEDEP}] |
47 |
- dev-python/PyQt4[X,${PYTHON_USEDEP}] |
48 |
- dev-python/qscintilla-python[qt4(+),${PYTHON_USEDEP}] |
49 |
- )" |
50 |
-DEPEND="${RDEPEND} |
51 |
- doc? ( |
52 |
- app-text/asciidoc |
53 |
- app-text/xmlto |
54 |
- )" |
55 |
- |
56 |
-python_configure_all() { |
57 |
- mydistutilsargs=( |
58 |
- build $(use doc || echo --no-doc) |
59 |
- build $(use ncurses || echo --no-curses) |
60 |
- build $(use qt4 || echo --no-qt) |
61 |
- ) |
62 |
-} |
63 |
- |
64 |
-src_prepare() { |
65 |
- # https://www.logilab.org/ticket/103668 |
66 |
- sed -i \ |
67 |
- -e 's:MANDIR=$(PREFIX)/man:MANDIR=$(PREFIX)/share/man:' \ |
68 |
- -e 's:$(INSTALL) $$i:$(INSTALL) -m 644 $$i:' \ |
69 |
- doc/Makefile || die |
70 |
- |
71 |
- distutils-r1_src_prepare |
72 |
-} |
73 |
- |
74 |
-src_install() { |
75 |
- distutils-r1_src_install |
76 |
- |
77 |
- # Install Mercurial extension config file |
78 |
- insinto /etc/mercurial/hgrc.d |
79 |
- doins hgext/hgview.rc |
80 |
-} |