mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
dev-util/promu: Version updated to 0.6.1.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST promu-0.5.0.tar.gz 643970 BLAKE2B b61e8421b5e68f3cd0ec125faadf64c7491f54cfe03de9d6497cb627e5d548b58fafe735c76a5a86a55489aea56dffb6e02d52acd1ca977ea32ec974f34475ac SHA512 b895c0b5b5a33bd0c2372e8c1c698b8548b1b7086849161ffa99bf9718f4b7f3a57bcf218681d84e4cc5ef31ef39df7e6c59345a84441369ec3ec402999ac4de
|
||||
DIST promu-0.6.1.tar.gz 1704561 BLAKE2B 40947a8a2cd470456db2c47f1208ef7dc009b102fbc0c2a749f99271881ae6f4009d616d977f504a60795e7844271350e5e44423e12bb8633e441dd3ade45b24 SHA512 58983905a0da911f2142e2cf89b241320abfdbe62568378355786f606b3e319322722c25d3fc7b7bd127dc916df9f79684ba3f28455a59b5ee73f7c455fba351
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
|
||||
EGIT_COMMIT="d3d03a28b678b6e3af03a86d1998bfc051a9d896"
|
||||
|
||||
DESCRIPTION="Prometheus Utility Tool"
|
||||
HOMEPAGE="https://github.com/prometheus/promu"
|
||||
SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${EGIT_COMMIT}/" .promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
go build -mod=vendor . || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc -r {doc,{README,CONTRIBUTING}.md}
|
||||
}
|
||||
Reference in New Issue
Block a user