Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/promu/
Date: Sat, 24 Oct 2020 22:45:37
Message-Id: 1603579499.4c4dde4e370a2ea31f9365ac6d9b9fc489bcd0ee.zmedico@gentoo
1 commit: 4c4dde4e370a2ea31f9365ac6d9b9fc489bcd0ee
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Fri Oct 23 20:09:21 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 24 22:44:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c4dde4e
7
8 dev-util/promu: Version updated to 0.6.1.
9
10 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 dev-util/promu/Manifest | 1 +
14 dev-util/promu/promu-0.6.1.ebuild | 32 ++++++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest
18 index b17a577e1cd..584bf41293f 100644
19 --- a/dev-util/promu/Manifest
20 +++ b/dev-util/promu/Manifest
21 @@ -1 +1,2 @@
22 DIST promu-0.5.0.tar.gz 643970 BLAKE2B b61e8421b5e68f3cd0ec125faadf64c7491f54cfe03de9d6497cb627e5d548b58fafe735c76a5a86a55489aea56dffb6e02d52acd1ca977ea32ec974f34475ac SHA512 b895c0b5b5a33bd0c2372e8c1c698b8548b1b7086849161ffa99bf9718f4b7f3a57bcf218681d84e4cc5ef31ef39df7e6c59345a84441369ec3ec402999ac4de
23 +DIST promu-0.6.1.tar.gz 1704561 BLAKE2B 40947a8a2cd470456db2c47f1208ef7dc009b102fbc0c2a749f99271881ae6f4009d616d977f504a60795e7844271350e5e44423e12bb8633e441dd3ade45b24 SHA512 58983905a0da911f2142e2cf89b241320abfdbe62568378355786f606b3e319322722c25d3fc7b7bd127dc916df9f79684ba3f28455a59b5ee73f7c455fba351
24
25 diff --git a/dev-util/promu/promu-0.6.1.ebuild b/dev-util/promu/promu-0.6.1.ebuild
26 new file mode 100644
27 index 00000000000..db82f31450c
28 --- /dev/null
29 +++ b/dev-util/promu/promu-0.6.1.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +inherit go-module
36 +
37 +EGIT_COMMIT="d3d03a28b678b6e3af03a86d1998bfc051a9d896"
38 +
39 +DESCRIPTION="Prometheus Utility Tool"
40 +HOMEPAGE="https://github.com/prometheus/promu"
41 +SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0 BSD BSD-2 MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm"
46 +IUSE=""
47 +
48 +RESTRICT+=" test"
49 +
50 +src_prepare() {
51 + default
52 + sed -i -e "s/{{.Revision}}/${EGIT_COMMIT}/" .promu.yml || die
53 +}
54 +
55 +src_compile() {
56 + go build -mod=vendor . || die "compile failed"
57 +}
58 +
59 +src_install() {
60 + dobin ${PN}
61 + dodoc -r {doc,{README,CONTRIBUTING}.md}
62 +}