1 |
commit: c6249fe3dae7d3809d4ddfc9d7f8e33f99734dca |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 6 01:46:22 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 6 01:48:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6249fe3 |
7 |
|
8 |
sys-apps/the_silver_searcher: version bump to 2.0.0 |
9 |
|
10 |
sys-apps/the_silver_searcher/Manifest | 1 + |
11 |
.../the_silver_searcher-2.0.0.ebuild | 45 ++++++++++++++++++++++ |
12 |
2 files changed, 46 insertions(+) |
13 |
|
14 |
diff --git a/sys-apps/the_silver_searcher/Manifest b/sys-apps/the_silver_searcher/Manifest |
15 |
index 11bd7f7ba43..a5cc6c13b70 100644 |
16 |
--- a/sys-apps/the_silver_searcher/Manifest |
17 |
+++ b/sys-apps/the_silver_searcher/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST the_silver_searcher-1.0.2.tar.gz 156870 SHA256 4cb73a4436fccf2c2cae91479a0167bacaa968a4deca28f3ff9d5abd98f01009 SHA512 58f06133907cf7d7f229b5153bef96b5e76ae6cbbcdaf7d00b52bd9d6595c006417365c2b8535254f943c2fd5559792953e14cc9ba1041d5dfbe0d5b4a3ba2c5 WHIRLPOOL 441613aebcbcf7119506d04020b7f9dd3c46b69e68868ea8db2c29267f4c2b678a0a26a62e55acb5bf3cf4836ef40220e1a3f24fca7fa494ffca1d7b42989bd4 |
20 |
DIST the_silver_searcher-1.0.3.tar.gz 157093 SHA256 ce45de7412ee0ae6f22d72e17b81425666e6130da8cb434d5ca8ea42185e514e SHA512 15d6898c43a144289892d41d7c207bb16224d9f9f05bd237b803160aa04eb89f44239a0ee6ff7e955533ef5f6e11b73d13c1ec07e11ae2a5b3c44e3d5b53f137 WHIRLPOOL ef0ac9b69867afc1423e121d05af1acd8a0de6e57a8f03557d173bbc9d39f82fd978c6d3e5b23e04478c2d37e203eb8eb25f4d17d7a8bed2d0717d8fe7b5ceb2 |
21 |
+DIST the_silver_searcher-2.0.0.tar.gz 160093 SHA256 ff7243863f22ed73eeab6f7a6d17cfff585a7eaa41d5ab3ae4f5d6db97701d5f SHA512 2587b9958fadcf5d95bc472f901904edb0d3d9bbc652dc6bb3801b77e7dfa744a97869bed4699776cc3fdcd7b0319fcecbe4b08ccfda617d1c2aa4ea8e9f990d WHIRLPOOL 4c2ca9594d4d7d0cff4141e4bc76c6d150ff58ed301269a7b6348616c75ae33c525eb5ec2534af21e1cf07da5f12d0c121802d0c1a97dce6621e53f90d8508cf |
22 |
|
23 |
diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-2.0.0.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-2.0.0.ebuild |
24 |
new file mode 100644 |
25 |
index 00000000000..3f4a2aae03c |
26 |
--- /dev/null |
27 |
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-2.0.0.ebuild |
28 |
@@ -0,0 +1,45 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+inherit autotools bash-completion-r1 |
34 |
+ |
35 |
+DESCRIPTION="A code-searching tool similar to ack, but faster" |
36 |
+HOMEPAGE="https://github.com/ggreer/the_silver_searcher" |
37 |
+SRC_URI="https://github.com/ggreer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="Apache-2.0" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd" |
42 |
+IUSE="lzma test zlib" |
43 |
+ |
44 |
+RDEPEND="dev-libs/libpcre |
45 |
+ lzma? ( app-arch/xz-utils ) |
46 |
+ zlib? ( sys-libs/zlib )" |
47 |
+DEPEND="${RDEPEND} |
48 |
+ virtual/pkgconfig |
49 |
+ test? ( dev-util/cram )" |
50 |
+ |
51 |
+DOCS="README.md" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ sed '/^dist_bashcomp/d' -i Makefile.am || die |
55 |
+ |
56 |
+ default |
57 |
+ eautoreconf |
58 |
+} |
59 |
+ |
60 |
+src_configure() { |
61 |
+ econf \ |
62 |
+ $(use_enable lzma) \ |
63 |
+ $(use_enable zlib) |
64 |
+} |
65 |
+ |
66 |
+src_test() { |
67 |
+ cram -v tests/*.t || die "tests failed" |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ newbashcomp ag.bashcomp.sh ag |
73 |
+} |