diff options
Diffstat (limited to 'dev-util/promu')
-rw-r--r-- | dev-util/promu/Manifest | 1 | ||||
-rw-r--r-- | dev-util/promu/promu-0.7.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest index 584bf41293f9..acca90b9239e 100644 --- a/dev-util/promu/Manifest +++ b/dev-util/promu/Manifest @@ -1,2 +1,3 @@ DIST promu-0.5.0.tar.gz 643970 BLAKE2B b61e8421b5e68f3cd0ec125faadf64c7491f54cfe03de9d6497cb627e5d548b58fafe735c76a5a86a55489aea56dffb6e02d52acd1ca977ea32ec974f34475ac SHA512 b895c0b5b5a33bd0c2372e8c1c698b8548b1b7086849161ffa99bf9718f4b7f3a57bcf218681d84e4cc5ef31ef39df7e6c59345a84441369ec3ec402999ac4de DIST promu-0.6.1.tar.gz 1704561 BLAKE2B 40947a8a2cd470456db2c47f1208ef7dc009b102fbc0c2a749f99271881ae6f4009d616d977f504a60795e7844271350e5e44423e12bb8633e441dd3ade45b24 SHA512 58983905a0da911f2142e2cf89b241320abfdbe62568378355786f606b3e319322722c25d3fc7b7bd127dc916df9f79684ba3f28455a59b5ee73f7c455fba351 +DIST promu-0.7.0.tar.gz 1706673 BLAKE2B 52dea1bef127dc20fa67b2efee750d9a22c8847fd48ea73b3d03eb0f95f2690977f8082bc71f27215a68c5277d8219ccd4ff93d8af7966fdf9df7286e4f45d03 SHA512 9f332e55c944de1ff87e86b696eb99f24dc1f5350a180ae62e403a798bd6e496d9fe71e18c07a2c870509fae4d6b3ded2274b1b986614f1abe9f74e3ed8e2a60 diff --git a/dev-util/promu/promu-0.7.0.ebuild b/dev-util/promu/promu-0.7.0.ebuild new file mode 100644 index 000000000000..dc79b2ea8df6 --- /dev/null +++ b/dev-util/promu/promu-0.7.0.ebuild @@ -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=b17dc4f71c810678db907367b392a3e7a14c4038 + +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 ~arm64 ~x86" +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} +} |