1 |
commit: c0c9c3a884eec945439302aef9ea051ebc51f008 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 23 19:33:16 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 23 19:41:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c9c3a8 |
7 |
|
8 |
dev-vcs/tig: version bump to 2.2 and add live ebuild |
9 |
|
10 |
dev-vcs/tig/Manifest | 1 + |
11 |
dev-vcs/tig/tig-2.2.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++++++ |
12 |
dev-vcs/tig/tig-9999.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++++++ |
13 |
3 files changed, 115 insertions(+) |
14 |
|
15 |
diff --git a/dev-vcs/tig/Manifest b/dev-vcs/tig/Manifest |
16 |
index 4b4a8db..47aabf0 100644 |
17 |
--- a/dev-vcs/tig/Manifest |
18 |
+++ b/dev-vcs/tig/Manifest |
19 |
@@ -1 +1,2 @@ |
20 |
DIST tig-2.1.1.tar.gz 641710 SHA256 50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f SHA512 be55ece813e1af938e3c4d805d4f034e78f75c1fcda7f4b5bc02de8b228d6d76b9f4921f6dc079485b8c13a3acc5ea2d146a0c437d28add45d50137ae6545f10 WHIRLPOOL 869012b9e5d47eaa24d7939202819bcf85c44ed4d2de742d7770d8610f3e86dfae43588f626de2785f10e78293c21151272b81b0f196163844ea8b76cce5d01c |
21 |
+DIST tig-2.2.tar.gz 1030062 SHA256 8f5213d3abb45ca9a79810b8d2a2a12d941112bc4682bcfa91f34db74942754c SHA512 53b85a1309becc7a72e915801ef9412de113f3d113ab0e3915c77999b86a58f4144f267cd3a6c47af8229e00b6146d5e6c38a591077dd746a5f0518b6a50ceae WHIRLPOOL 036cb1a2b66f8f4975b98f6dae049be014868c7508802858f7024b1c0518e8a8afc49181808a7fd4f941e44e4b79032333a30d612d74618fbef17d541e98edd6 |
22 |
|
23 |
diff --git a/dev-vcs/tig/tig-2.2.ebuild b/dev-vcs/tig/tig-2.2.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000..ffe804a |
26 |
--- /dev/null |
27 |
+++ b/dev-vcs/tig/tig-2.2.ebuild |
28 |
@@ -0,0 +1,57 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit bash-completion-r1 |
36 |
+ |
37 |
+if [[ ${PV} == "9999" ]] ; then |
38 |
+ EGIT_REPO_URI="https://github.com/jonas/tig.git" |
39 |
+ inherit git-r3 autotools |
40 |
+else |
41 |
+ SRC_URI="http://jonas.nitro.dk/tig/releases/${P}.tar.gz" |
42 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
43 |
+fi |
44 |
+ |
45 |
+DESCRIPTION="text mode interface for git" |
46 |
+HOMEPAGE="http://jonas.nitro.dk/tig/" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+SLOT="0" |
50 |
+IUSE="unicode" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ sys-libs/ncurses:0=[unicode?] |
54 |
+ sys-libs/readline:0=" |
55 |
+RDEPEND="${DEPEND} |
56 |
+ dev-vcs/git" |
57 |
+[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ [[ ${PV} == "9999" ]] && eautoreconf |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ econf $(use_with unicode ncursesw) |
66 |
+} |
67 |
+ |
68 |
+src_compile() { |
69 |
+ emake V=1 |
70 |
+ [[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html |
71 |
+} |
72 |
+ |
73 |
+src_test() { |
74 |
+ # workaround parallel test failures |
75 |
+ emake -j1 test |
76 |
+} |
77 |
+ |
78 |
+src_install() { |
79 |
+ emake DESTDIR="${D}" install install-doc-man |
80 |
+ dodoc doc/manual.html README.html NEWS.html |
81 |
+ newbashcomp contrib/tig-completion.bash ${PN} |
82 |
+ |
83 |
+ docinto examples |
84 |
+ dodoc contrib/*.tigrc |
85 |
+} |
86 |
|
87 |
diff --git a/dev-vcs/tig/tig-9999.ebuild b/dev-vcs/tig/tig-9999.ebuild |
88 |
new file mode 100644 |
89 |
index 00000000..ffe804a |
90 |
--- /dev/null |
91 |
+++ b/dev-vcs/tig/tig-9999.ebuild |
92 |
@@ -0,0 +1,57 @@ |
93 |
+# Copyright 1999-2016 Gentoo Foundation |
94 |
+# Distributed under the terms of the GNU General Public License v2 |
95 |
+# $Id$ |
96 |
+ |
97 |
+EAPI=6 |
98 |
+ |
99 |
+inherit bash-completion-r1 |
100 |
+ |
101 |
+if [[ ${PV} == "9999" ]] ; then |
102 |
+ EGIT_REPO_URI="https://github.com/jonas/tig.git" |
103 |
+ inherit git-r3 autotools |
104 |
+else |
105 |
+ SRC_URI="http://jonas.nitro.dk/tig/releases/${P}.tar.gz" |
106 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
107 |
+fi |
108 |
+ |
109 |
+DESCRIPTION="text mode interface for git" |
110 |
+HOMEPAGE="http://jonas.nitro.dk/tig/" |
111 |
+ |
112 |
+LICENSE="GPL-2" |
113 |
+SLOT="0" |
114 |
+IUSE="unicode" |
115 |
+ |
116 |
+DEPEND=" |
117 |
+ sys-libs/ncurses:0=[unicode?] |
118 |
+ sys-libs/readline:0=" |
119 |
+RDEPEND="${DEPEND} |
120 |
+ dev-vcs/git" |
121 |
+[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc" |
122 |
+ |
123 |
+src_prepare() { |
124 |
+ default |
125 |
+ [[ ${PV} == "9999" ]] && eautoreconf |
126 |
+} |
127 |
+ |
128 |
+src_configure() { |
129 |
+ econf $(use_with unicode ncursesw) |
130 |
+} |
131 |
+ |
132 |
+src_compile() { |
133 |
+ emake V=1 |
134 |
+ [[ ${PV} == "9999" ]] && emake V=1 doc-man doc-html |
135 |
+} |
136 |
+ |
137 |
+src_test() { |
138 |
+ # workaround parallel test failures |
139 |
+ emake -j1 test |
140 |
+} |
141 |
+ |
142 |
+src_install() { |
143 |
+ emake DESTDIR="${D}" install install-doc-man |
144 |
+ dodoc doc/manual.html README.html NEWS.html |
145 |
+ newbashcomp contrib/tig-completion.bash ${PN} |
146 |
+ |
147 |
+ docinto examples |
148 |
+ dodoc contrib/*.tigrc |
149 |
+} |