commit:     95c7df782e6976a2ab5d0a6b1b190d0bb0893c5b
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  6 04:58:14 2016 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Dec  6 04:58:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95c7df78

sys-apps/the_silver_searcher: version bump to 1.0.2

 sys-apps/the_silver_searcher/Manifest              |  1 +
 .../the_silver_searcher-1.0.2.ebuild               | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/sys-apps/the_silver_searcher/Manifest 
b/sys-apps/the_silver_searcher/Manifest
index 47c7392..92447d7 100644
--- a/sys-apps/the_silver_searcher/Manifest
+++ b/sys-apps/the_silver_searcher/Manifest
@@ -1,3 +1,4 @@
 DIST the_silver_searcher-0.32.0.tar.gz 152041 SHA256 
c5b208572e5cfc8a3cf366e8eb337b0c673c2ffa90c1ad90dfdcbe78251ba4cc SHA512 
c5664205844f17d7739742949524d42f7ff403884a1bb13b32c9a14bde76d5129259d26a782057adf340ea1afc0caa6bd7b51d59caf795937389ff88f3a373bc
 WHIRLPOOL 
85b284bf928a4cf5e28014678f01450c1083f15b08837069c4d4097122c84122a558f6175789131198fb003715b7dc030b48957d76cb7e00624d499812ce065f
 DIST the_silver_searcher-0.33.0.tar.gz 153459 SHA256 
351ab79ada811fd08f81296de10a7498ea3c46b681d73696d5a2911edbdc19db SHA512 
7ce2eb32f2ed1f49c53de13f9edb755c43b8915424039c242b4ce947ac9c54094f285fd1018386bdb6bcf3dd088f9d943e0c4d22d82b9b2387a9664fc20a6ca3
 WHIRLPOOL 
f93bbf2dd7f2ddae4e8aaad37ad0994585e3dfcbdaa1df57a225b9af2aa4232f8b45d1c5a1f28c47333097fe16350d0f1b1dffade3371a47f049e4d0517e4848
 DIST the_silver_searcher-1.0.1.tar.gz 156764 SHA256 
a79e6b024c6c756589b0d5ffbffe65983c750a07099d28aa5036d47a9feec86b SHA512 
4d9d7f32a8268112636d9aac33f9b7fb3e2730cec1db70ffe246f2feb7d5c66150d44862f71e3ab02d35b9f0748db09c3e69c9769cda37a2a431af808dbb50c8
 WHIRLPOOL 
888d06fb25b5ffde2289a2e91f7dcc1c97dd2bafdd67dbb32baa84f51178211fa2c3fb07da94b89ed5cbdb412954b62b2e6de2efd5c4ac8fac6b9a7c348a2b76
+DIST the_silver_searcher-1.0.2.tar.gz 156870 SHA256 
4cb73a4436fccf2c2cae91479a0167bacaa968a4deca28f3ff9d5abd98f01009 SHA512 
58f06133907cf7d7f229b5153bef96b5e76ae6cbbcdaf7d00b52bd9d6595c006417365c2b8535254f943c2fd5559792953e14cc9ba1041d5dfbe0d5b4a3ba2c5
 WHIRLPOOL 
441613aebcbcf7119506d04020b7f9dd3c46b69e68868ea8db2c29267f4c2b678a0a26a62e55acb5bf3cf4836ef40220e1a3f24fca7fa494ffca1d7b42989bd4

diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-1.0.2.ebuild 
b/sys-apps/the_silver_searcher/the_silver_searcher-1.0.2.ebuild
new file mode 100644
index 00000000..a926bff
--- /dev/null
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-1.0.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.1-tests.patch )
+
+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
+}

Reply via email to