Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/the_silver_searcher/
Date: Thu, 04 May 2017 08:45:34
Message-Id: 1493887503.80c8a6ebd4a6744f6a07cbd9c40f5e9038a51dbf.radhermit@gentoo
1 commit: 80c8a6ebd4a6744f6a07cbd9c40f5e9038a51dbf
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 4 08:40:10 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu May 4 08:45:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80c8a6eb
7
8 sys-apps/the_silver_searcher: version bump to 1.0.3
9
10 sys-apps/the_silver_searcher/Manifest | 1 +
11 .../the_silver_searcher-1.0.3.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 da4f4d58238..11bd7f7ba43 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-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
22 diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-1.0.3.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-1.0.3.ebuild
23 new file mode 100644
24 index 00000000000..3f4a2aae03c
25 --- /dev/null
26 +++ b/sys-apps/the_silver_searcher/the_silver_searcher-1.0.3.ebuild
27 @@ -0,0 +1,45 @@
28 +# Copyright 1999-2016 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +inherit autotools bash-completion-r1
33 +
34 +DESCRIPTION="A code-searching tool similar to ack, but faster"
35 +HOMEPAGE="https://github.com/ggreer/the_silver_searcher"
36 +SRC_URI="https://github.com/ggreer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
37 +
38 +LICENSE="Apache-2.0"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
41 +IUSE="lzma test zlib"
42 +
43 +RDEPEND="dev-libs/libpcre
44 + lzma? ( app-arch/xz-utils )
45 + zlib? ( sys-libs/zlib )"
46 +DEPEND="${RDEPEND}
47 + virtual/pkgconfig
48 + test? ( dev-util/cram )"
49 +
50 +DOCS="README.md"
51 +
52 +src_prepare() {
53 + sed '/^dist_bashcomp/d' -i Makefile.am || die
54 +
55 + default
56 + eautoreconf
57 +}
58 +
59 +src_configure() {
60 + econf \
61 + $(use_enable lzma) \
62 + $(use_enable zlib)
63 +}
64 +
65 +src_test() {
66 + cram -v tests/*.t || die "tests failed"
67 +}
68 +
69 +src_install() {
70 + default
71 + newbashcomp ag.bashcomp.sh ag
72 +}