Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/vgrep/
Date: Thu, 06 Aug 2020 13:51:23
Message-Id: 1596721793.1c8619762cf1da26037a200ba69e0ab815b15ed3.whissi@gentoo
1 commit: 1c8619762cf1da26037a200ba69e0ab815b15ed3
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 6 13:49:17 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 6 13:49:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c861976
7
8 app-text/vgrep: bump to v2.4.0
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 app-text/vgrep/Manifest | 1 +
14 app-text/vgrep/vgrep-2.4.0.ebuild | 33 +++++++++++++++++++++++++++++++++
15 2 files changed, 34 insertions(+)
16
17 diff --git a/app-text/vgrep/Manifest b/app-text/vgrep/Manifest
18 index d0943fee57b..b83fb59f87b 100644
19 --- a/app-text/vgrep/Manifest
20 +++ b/app-text/vgrep/Manifest
21 @@ -1,2 +1,3 @@
22 DIST vgrep-2.3.1.tar.gz 1149421 BLAKE2B c4c9a414bba5e509d57faa9ca6f6ce5cae1dbb001ff8b410ad54691ec6bf39f41c535fd25bdd5d93fdf89b4e4b49acf4dfa9a8956653e5c5e2ce39bd7da8d484 SHA512 0fa65151ae40f7fefc4e5b1af8e6ea332b50b1136849ec0902dd110786ca14204441e27c65a036b08fa56bf04a6325d8aa8ef2d4d02cdb0e0fe219896e24d694
23 DIST vgrep-2.3.3.tar.gz 1149769 BLAKE2B 59f15e0f2d9fd069b4926cb26a0517cb1d201dccce53d7c6b3ec1954693a3286396e8d4d72e2c3bcc4bb8e70083ba1ea349dfc4bec244caa112fcc2289063c25 SHA512 b745ec24bb5c329a3d0e4e756e54432f3acf9c24f9492339b69850d5a8e688074323d7e56c584e59f3aedf3a41b84997497791512dae2950424eaed56d6b7329
24 +DIST vgrep-2.4.0.tar.gz 1196159 BLAKE2B f8b6b8166feb17ddeea7978ff14fd729ee395feb9658cbfc838f978f33169c7ca15dcd4008af54582aca25a0803924c508da11603d02e42d1e597a5813f78c3b SHA512 c614b52fe7fa720d3d2bb57830805c1ebb7c47db549aadda9309676b9c286447e693e51f74f969ccd0450934510bfe79c1603717022dd69c9f7f2709cbfd4465
25
26 diff --git a/app-text/vgrep/vgrep-2.4.0.ebuild b/app-text/vgrep/vgrep-2.4.0.ebuild
27 new file mode 100644
28 index 00000000000..f50049ccd32
29 --- /dev/null
30 +++ b/app-text/vgrep/vgrep-2.4.0.ebuild
31 @@ -0,0 +1,33 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +
37 +inherit go-module
38 +
39 +DESCRIPTION="A pager for grep, git-grep and similar grep implementations"
40 +HOMEPAGE="https://github.com/vrothberg/vgrep"
41 +SRC_URI="https://github.com/vrothberg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD GPL-3+ MIT MIT-with-advertising"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +# Uses golangci-lint
48 +RESTRICT="test"
49 +
50 +DOCS=( README.md )
51 +
52 +# go binary
53 +QA_PRESTRIPPED="usr/bin/vgrep"
54 +
55 +src_compile() {
56 + emake build
57 +}
58 +
59 +src_install() {
60 + local prefix="${D}/usr"
61 + mkdir -p "${prefix}"/bin || die
62 +
63 + emake PREFIX="${prefix}" install
64 +}