summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-06-05 21:46:22 -0400
committerTim Harder <radhermit@gentoo.org>2017-06-05 21:48:39 -0400
commitc6249fe3dae7d3809d4ddfc9d7f8e33f99734dca (patch)
tree0f4a55c22d1a65dd3652000db779ab66aae62aae /sys-apps/the_silver_searcher
parentapp-admin/collectd: Bump to v5.7.1 (diff)
downloadgentoo-c6249fe3dae7d3809d4ddfc9d7f8e33f99734dca.tar.gz
gentoo-c6249fe3dae7d3809d4ddfc9d7f8e33f99734dca.tar.bz2
gentoo-c6249fe3dae7d3809d4ddfc9d7f8e33f99734dca.zip
sys-apps/the_silver_searcher: version bump to 2.0.0
Diffstat (limited to 'sys-apps/the_silver_searcher')
-rw-r--r--sys-apps/the_silver_searcher/Manifest1
-rw-r--r--sys-apps/the_silver_searcher/the_silver_searcher-2.0.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sys-apps/the_silver_searcher/Manifest b/sys-apps/the_silver_searcher/Manifest
index 11bd7f7ba43..a5cc6c13b70 100644
--- a/sys-apps/the_silver_searcher/Manifest
+++ b/sys-apps/the_silver_searcher/Manifest
@@ -1,2 +1,3 @@
DIST the_silver_searcher-1.0.2.tar.gz 156870 SHA256 4cb73a4436fccf2c2cae91479a0167bacaa968a4deca28f3ff9d5abd98f01009 SHA512 58f06133907cf7d7f229b5153bef96b5e76ae6cbbcdaf7d00b52bd9d6595c006417365c2b8535254f943c2fd5559792953e14cc9ba1041d5dfbe0d5b4a3ba2c5 WHIRLPOOL 441613aebcbcf7119506d04020b7f9dd3c46b69e68868ea8db2c29267f4c2b678a0a26a62e55acb5bf3cf4836ef40220e1a3f24fca7fa494ffca1d7b42989bd4
DIST the_silver_searcher-1.0.3.tar.gz 157093 SHA256 ce45de7412ee0ae6f22d72e17b81425666e6130da8cb434d5ca8ea42185e514e SHA512 15d6898c43a144289892d41d7c207bb16224d9f9f05bd237b803160aa04eb89f44239a0ee6ff7e955533ef5f6e11b73d13c1ec07e11ae2a5b3c44e3d5b53f137 WHIRLPOOL ef0ac9b69867afc1423e121d05af1acd8a0de6e57a8f03557d173bbc9d39f82fd978c6d3e5b23e04478c2d37e203eb8eb25f4d17d7a8bed2d0717d8fe7b5ceb2
+DIST the_silver_searcher-2.0.0.tar.gz 160093 SHA256 ff7243863f22ed73eeab6f7a6d17cfff585a7eaa41d5ab3ae4f5d6db97701d5f SHA512 2587b9958fadcf5d95bc472f901904edb0d3d9bbc652dc6bb3801b77e7dfa744a97869bed4699776cc3fdcd7b0319fcecbe4b08ccfda617d1c2aa4ea8e9f990d WHIRLPOOL 4c2ca9594d4d7d0cff4141e4bc76c6d150ff58ed301269a7b6348616c75ae33c525eb5ec2534af21e1cf07da5f12d0c121802d0c1a97dce6621e53f90d8508cf
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
new file mode 100644
index 00000000000..3f4a2aae03c
--- /dev/null
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-2.0.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools bash-completion-r1
+
+DESCRIPTION="A code-searching tool similar to ack, but faster"
+HOMEPAGE="https://github.com/ggreer/the_silver_searcher"
+SRC_URI="https://github.com/ggreer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="lzma test zlib"
+
+RDEPEND="dev-libs/libpcre
+ lzma? ( app-arch/xz-utils )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-util/cram )"
+
+DOCS="README.md"
+
+src_prepare() {
+ sed '/^dist_bashcomp/d' -i Makefile.am || die
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable lzma) \
+ $(use_enable zlib)
+}
+
+src_test() {
+ cram -v tests/*.t || die "tests failed"
+}
+
+src_install() {
+ default
+ newbashcomp ag.bashcomp.sh ag
+}