1 |
commit: d78cb57faf50ccb763addb20ebd667a784dfe56d |
2 |
Author: Guillaume Seren <guillaumeseren <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Sep 30 14:46:29 2017 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 25 17:25:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78cb57f |
7 |
|
8 |
dev-vcs/tig: Add version bump 2.3.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/632530 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5826 |
12 |
|
13 |
dev-vcs/tig/Manifest | 1 + |
14 |
dev-vcs/tig/tig-2.3.0.ebuild | 56 ++++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/dev-vcs/tig/Manifest b/dev-vcs/tig/Manifest |
18 |
index 8fdea2fb0f9..448ede066ba 100644 |
19 |
--- a/dev-vcs/tig/Manifest |
20 |
+++ b/dev-vcs/tig/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST tig-2.2.2.tar.gz 1046910 SHA256 316214d87f7693abc0cbe8ebbb85decdf5e1b49d7ad760ac801af3dd73385e35 SHA512 e43cf8b4e7938342b581a1238222d5cbf62e242208cd65fc9b3261c4076b7c60c182f9a80613538fcf8b50187cc2844c22f6d1aeaaa8b23864670667a91dbfcd WHIRLPOOL c4f569d969bacdea8f7a765acfced6c45b04f36c5eca915702c369de1ab11dbe4d8c01934852d40ffdd641dcbf5ed699803c67ea3deccf539721dba46ca23716 |
23 |
+DIST tig-2.3.0.tar.gz 1080956 SHA256 686f0386927904dc6410f0b1a712cb8bd7fff3303f688d7dc43162f4ad16c0ed SHA512 d5e8bf04689fdbeab4f2ee60eef1e8e7686827228dc2f87b20c40a3a1c31aa3476d5088423ba8bcb72616a9f0f211a2dbb631a72cc946553e41cb225ea60ab37 WHIRLPOOL d7ff8b990b6ebf0fda6df28624bee7e842103047490e037ad562f873740f2358e66ccaf429af7caf0319f06b0f92600f0c04733054aeffc14026a95060abfbc3 |
24 |
|
25 |
diff --git a/dev-vcs/tig/tig-2.3.0.ebuild b/dev-vcs/tig/tig-2.3.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..9f6f0769818 |
28 |
--- /dev/null |
29 |
+++ b/dev-vcs/tig/tig-2.3.0.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit bash-completion-r1 |
37 |
+ |
38 |
+if [[ ${PV} == "9999" ]] ; then |
39 |
+ EGIT_REPO_URI="https://github.com/jonas/tig.git" |
40 |
+ inherit git-r3 autotools |
41 |
+else |
42 |
+ SRC_URI="https://github.com/jonas/tig/releases/download/${P}/${P}.tar.gz" |
43 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="A text mode interface for git" |
47 |
+HOMEPAGE="https://jonas.github.io/tig/" |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+SLOT="0" |
51 |
+IUSE="unicode" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ sys-libs/ncurses:0=[unicode?] |
55 |
+ sys-libs/readline:0=" |
56 |
+RDEPEND="${DEPEND} |
57 |
+ dev-vcs/git" |
58 |
+[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc app-text/xmlto" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ [[ ${PV} == "9999" ]] && eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf $(use_with unicode ncursesw) |
67 |
+} |
68 |
+ |
69 |
+src_compile() { |
70 |
+ emake V=1 |
71 |
+ [[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html |
72 |
+} |
73 |
+ |
74 |
+src_test() { |
75 |
+ # workaround parallel test failures |
76 |
+ emake -j1 test |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ emake DESTDIR="${D}" install install-doc-man |
81 |
+ dodoc doc/manual.html README.html NEWS.html |
82 |
+ newbashcomp contrib/tig-completion.bash ${PN} |
83 |
+ |
84 |
+ docinto examples |
85 |
+ dodoc contrib/*.tigrc |
86 |
+} |