1 |
commit: 96f4a09c6221ded270d8206acd156407847b0ce4 |
2 |
Author: Sam Jorna <wraeth <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 01:19:42 2021 +0000 |
4 |
Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 18 01:20:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96f4a09c |
7 |
|
8 |
sys-apps/the_silver_searcher: bump to 2.2.0_p20201217 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Sam Jorna <wraeth <AT> gentoo.org> |
12 |
|
13 |
sys-apps/the_silver_searcher/Manifest | 1 + |
14 |
.../the_silver_searcher-2.2.0_p20201217.ebuild | 55 ++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/the_silver_searcher/Manifest b/sys-apps/the_silver_searcher/Manifest |
18 |
index d98c5b32ad2..d0b5e63ea97 100644 |
19 |
--- a/sys-apps/the_silver_searcher/Manifest |
20 |
+++ b/sys-apps/the_silver_searcher/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST the_silver_searcher-2.2.0.tar.gz 163686 BLAKE2B ca81f701336ff463b6dc783ac8bc615a05e048c35b653a80c3fb74b053bb71f4822990b699a9e3741c7ffdd2581b65faa5439824189a9d8e36025d248201f814 SHA512 b635165fa3259475027986dd49c0786545cc2e3037695aec70f6ee54eaa768ab0e25af78d4bfd3754c4eb8352464cebf64324ed4a68a4b3de60a6889473da26e |
23 |
+DIST the_silver_searcher-2.2.0_p20201217.tar.gz 165236 BLAKE2B eaf5e657b33d463048a83e08a90588448cb2fcd481b1f7f869e82c5e1ae1168a10dacb0d549dcc4acafb4323c96a9b67ff9e58de85f80bd2bd7e209ddc5ca6fa SHA512 96bc8da8ba10034bbb646bac71d479a21a68793e8af5377481da72c8dfa49ac99a1540c2b4193c4a95167127f1caa48fbd611ba367b8279bd2115549b6d8d126 |
24 |
|
25 |
diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1094502e22e |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-2.2.0_p20201217.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+inherit autotools bash-completion-r1 vcs-snapshot |
36 |
+ |
37 |
+COMMIT="a61f1780b64266587e7bc30f0f5f71c6cca97c0f" |
38 |
+ |
39 |
+DESCRIPTION="A code-searching tool similar to ack, but faster" |
40 |
+HOMEPAGE="https://github.com/ggreer/the_silver_searcher" |
41 |
+SRC_URI="https://github.com/ggreer/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux" |
46 |
+IUSE="lzma test zlib" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND="dev-libs/libpcre |
50 |
+ lzma? ( app-arch/xz-utils ) |
51 |
+ zlib? ( sys-libs/zlib )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ virtual/pkgconfig |
54 |
+ test? ( |
55 |
+ dev-util/cram |
56 |
+ dev-vcs/git |
57 |
+ )" |
58 |
+ |
59 |
+DOCS="README.md" |
60 |
+ |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}"/${PN}-2.1.0-lzma.patch |
63 |
+) |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ sed '/^dist_bashcomp/d' -i Makefile.am || die |
67 |
+ |
68 |
+ default |
69 |
+ eautoreconf |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ econf \ |
74 |
+ $(use_enable lzma) \ |
75 |
+ $(use_enable zlib) |
76 |
+} |
77 |
+ |
78 |
+src_test() { |
79 |
+ cram -v tests/*.t || die "tests failed" |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ default |
84 |
+ newbashcomp ag.bashcomp.sh ag |
85 |
+} |