1 |
commit: 44b39d1a8124e34ef7bb44495b6266fb780926f5 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 15 23:56:02 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 18 21:21:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b39d1a |
7 |
|
8 |
dev-vcs/tig: version bump to 2.4.1 |
9 |
|
10 |
dev-vcs/tig/Manifest | 1 + |
11 |
dev-vcs/tig/tig-2.4.1.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 61 insertions(+) |
13 |
|
14 |
diff --git a/dev-vcs/tig/Manifest b/dev-vcs/tig/Manifest |
15 |
index bf98bb0edb7..bcd25a783a7 100644 |
16 |
--- a/dev-vcs/tig/Manifest |
17 |
+++ b/dev-vcs/tig/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST tig-2.3.3.tar.gz 1082818 BLAKE2B 0e9bcd02726b004c233a5efd7f58e4fda478dc1d2b738a7f8c086a3d71807d319ac8bd296b0f7c7569ed69a5b2b1db18e5c957cc5ce890a67b8f6ee7ead29551 SHA512 1d1cdf7184eeb3fea301c1959023f4aa97c4f8e25fc96cd61933ca39cf7549b6c7e1d9517f7ffd45d212ae9542ea4be07370b41c623cf6d0db8d025634b1d6d1 |
20 |
+DIST tig-2.4.1.tar.gz 1181900 BLAKE2B 85bb76008e5c10e94d97ac4cd88ac4eb2a0675ef5b45e9f21a9d2219cf0b6ed55ce52b579b831bc6c6fc530c89fb99f5dfd1f62dab3e1ab329e132707dccf908 SHA512 516114ed267a9459e356ca1af35c9eba521f9a11e9462cc5120cc7ea8fba4e54ea0a2e8e0ab96263754d6516354c296df541f8e3642392eaeb205cd88428077c |
21 |
|
22 |
diff --git a/dev-vcs/tig/tig-2.4.1.ebuild b/dev-vcs/tig/tig-2.4.1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..59b31c7161c |
25 |
--- /dev/null |
26 |
+++ b/dev-vcs/tig/tig-2.4.1.ebuild |
27 |
@@ -0,0 +1,60 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+inherit bash-completion-r1 |
34 |
+ |
35 |
+if [[ ${PV} == "9999" ]] ; then |
36 |
+ EGIT_REPO_URI="https://github.com/jonas/tig.git" |
37 |
+ inherit git-r3 autotools |
38 |
+else |
39 |
+ SRC_URI="https://github.com/jonas/tig/releases/download/${P}/${P}.tar.gz" |
40 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
41 |
+fi |
42 |
+ |
43 |
+DESCRIPTION="text mode interface for git" |
44 |
+HOMEPAGE="https://jonas.github.io/tig/" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+IUSE="test unicode" |
49 |
+REQUIRED_USE="test? ( unicode )" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ sys-libs/ncurses:0=[unicode?] |
53 |
+ sys-libs/readline:0=" |
54 |
+RDEPEND="${DEPEND} |
55 |
+ dev-vcs/git" |
56 |
+[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc app-text/xmlto" |
57 |
+ |
58 |
+# encoding/env issues |
59 |
+RESTRICT="test" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ [[ ${PV} == "9999" ]] && eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ econf $(use_with unicode ncursesw) |
68 |
+} |
69 |
+ |
70 |
+src_compile() { |
71 |
+ emake V=1 |
72 |
+ [[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html |
73 |
+} |
74 |
+ |
75 |
+src_test() { |
76 |
+ # workaround parallel test failures |
77 |
+ emake -j1 test |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ emake DESTDIR="${D}" install install-doc-man |
82 |
+ dodoc doc/manual.html README.html NEWS.html |
83 |
+ newbashcomp contrib/tig-completion.bash ${PN} |
84 |
+ |
85 |
+ docinto examples |
86 |
+ dodoc contrib/*.tigrc |
87 |
+} |