1 |
commit: c3f4148a5cdb8d3b5c8108b13a6b859818e44ce2 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 01:39:28 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 01:41:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f4148a |
7 |
|
8 |
sys-apps/ripgrep: version bump to 0.2.6 |
9 |
|
10 |
sys-apps/ripgrep/Manifest | 1 + |
11 |
sys-apps/ripgrep/ripgrep-0.2.6.ebuild | 38 +++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 39 insertions(+) |
13 |
|
14 |
diff --git a/sys-apps/ripgrep/Manifest b/sys-apps/ripgrep/Manifest |
15 |
index 19845f5..a3a166e 100644 |
16 |
--- a/sys-apps/ripgrep/Manifest |
17 |
+++ b/sys-apps/ripgrep/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST ripgrep-0.2.5.tar.xz 36327796 SHA256 af30c197e8ed4779288023b4b197ebd481f5c644be1ac18495c91556989da5f8 SHA512 4ce2374f677110bc61ac1ee0511a9e801f21f414ba3bf809b3020e82a2a26a7deeff45fea1edc8d20353023e95074899262db2f84e0cd822103dc60b55f39216 WHIRLPOOL e0a50bc59142aa74ecfc93c2089d6916aba6af15d33d9dbd9f7fa7c790b5fa9f46b757419c9db3abd4d17eba6d0e17c6b5a83ceb6842d8a7d57722ef1e6862ff |
20 |
+DIST ripgrep-0.2.6.tar.xz 36034548 SHA256 1f26e3023a58f52085780f5392241d3781d51746ce1fa8abc155b99bd11eae1e SHA512 1389e97009a30c417f75e8a6804e53ba72c679b6e67366c83c839fe5bc4035cc59ab0261ada1110eda84e8aa9900fd12abc1732bf68b6fd379aee64fbfe7acc9 WHIRLPOOL 416b3eab0146872e86dd9184b17aa73ae4dba5016c7829d2daa845fe304aa2be31fc4505e08b8270ff7589872fcb07852bfbbb30a06c7c13d63abf2c17ae0c01 |
21 |
|
22 |
diff --git a/sys-apps/ripgrep/ripgrep-0.2.6.ebuild b/sys-apps/ripgrep/ripgrep-0.2.6.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000..11fc9da |
25 |
--- /dev/null |
26 |
+++ b/sys-apps/ripgrep/ripgrep-0.2.6.ebuild |
27 |
@@ -0,0 +1,38 @@ |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+# $Id$ |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+DESCRIPTION="a command line search tool that combines usability with raw speed" |
35 |
+HOMEPAGE="https://github.com/BurntSushi/ripgrep" |
36 |
+#SRC_URI="https://github.com/BurntSushi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+# custom tarball bundling all deps and index, otherwise cargo fetches from the network |
38 |
+SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.xz" |
39 |
+ |
40 |
+LICENSE="|| ( MIT Unlicense )" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+ |
44 |
+DEPEND="dev-util/cargo" |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ default |
48 |
+ |
49 |
+ # move cache dir where cargo expects it |
50 |
+ mv .cargo "${HOME}" || die |
51 |
+} |
52 |
+ |
53 |
+src_compile() { |
54 |
+ cargo build --release --verbose || die |
55 |
+} |
56 |
+ |
57 |
+src_test() { |
58 |
+ cargo test || die "tests failed" |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ dobin target/release/rg |
63 |
+ doman doc/rg.1 |
64 |
+ dodoc CHANGELOG.md README.md |
65 |
+} |