1 |
commit: 8390bd960d31feee433bde632cdddbfb058e091b |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 2 06:08:39 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 2 06:13:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8390bd96 |
7 |
|
8 |
sys-apps/the_silver_searcher: version bump to 0.33.0 |
9 |
|
10 |
sys-apps/the_silver_searcher/Manifest | 1 + |
11 |
.../the_silver_searcher-0.33.0.ebuild | 46 ++++++++++++++++++++++ |
12 |
2 files changed, 47 insertions(+) |
13 |
|
14 |
diff --git a/sys-apps/the_silver_searcher/Manifest b/sys-apps/the_silver_searcher/Manifest |
15 |
index a0ebdcf..e572b91 100644 |
16 |
--- a/sys-apps/the_silver_searcher/Manifest |
17 |
+++ b/sys-apps/the_silver_searcher/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST the_silver_searcher-0.32.0.tar.gz 152041 SHA256 c5b208572e5cfc8a3cf366e8eb337b0c673c2ffa90c1ad90dfdcbe78251ba4cc SHA512 c5664205844f17d7739742949524d42f7ff403884a1bb13b32c9a14bde76d5129259d26a782057adf340ea1afc0caa6bd7b51d59caf795937389ff88f3a373bc WHIRLPOOL 85b284bf928a4cf5e28014678f01450c1083f15b08837069c4d4097122c84122a558f6175789131198fb003715b7dc030b48957d76cb7e00624d499812ce065f |
20 |
+DIST the_silver_searcher-0.33.0.tar.gz 153459 SHA256 351ab79ada811fd08f81296de10a7498ea3c46b681d73696d5a2911edbdc19db SHA512 7ce2eb32f2ed1f49c53de13f9edb755c43b8915424039c242b4ce947ac9c54094f285fd1018386bdb6bcf3dd088f9d943e0c4d22d82b9b2387a9664fc20a6ca3 WHIRLPOOL f93bbf2dd7f2ddae4e8aaad37ad0994585e3dfcbdaa1df57a225b9af2aa4232f8b45d1c5a1f28c47333097fe16350d0f1b1dffade3371a47f049e4d0517e4848 |
21 |
|
22 |
diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-0.33.0.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-0.33.0.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000..34f1aa8 |
25 |
--- /dev/null |
26 |
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-0.33.0.ebuild |
27 |
@@ -0,0 +1,46 @@ |
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 |
+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 |
+} |