summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWANG Xuerui <xen0n@gentoo.org>2023-01-04 12:36:02 +0800
committerWANG Xuerui <xen0n@gentoo.org>2023-01-06 15:15:58 +0800
commit33b9f7d5b9c769223e67d25178cdb572ec77d16b (patch)
tree3be82902113eed3f95c950a3bcadfb0e3154fe23 /dev-util
parentapp-misc/pax-utils: add 1.3.6 (diff)
downloadgentoo-33b9f7d5b9c769223e67d25178cdb572ec77d16b.tar.gz
gentoo-33b9f7d5b9c769223e67d25178cdb572ec77d16b.tar.bz2
gentoo-33b9f7d5b9c769223e67d25178cdb572ec77d16b.zip
dev-util/promu: add 0.14.0
See: https://github.com/gentoo/gentoo/pull/28951 Signed-off-by: WANG Xuerui <xen0n@gentoo.org> Reviewed-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/promu/Manifest2
-rw-r--r--dev-util/promu/promu-0.14.0.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest
index 352cf209181e..d0f72ebc4f7f 100644
--- a/dev-util/promu/Manifest
+++ b/dev-util/promu/Manifest
@@ -1,2 +1,4 @@
DIST promu-0.13.0-deps.tar.xz 106902576 BLAKE2B c09fadd7957896a452f3d34bf066eddcc052e423b8bb34f7fc28629ef5a12bc33e515f658af4328973952887c7505b6dc4d9401663f37977c7d8607ec0cf255d SHA512 6765f901b676e912fa195a47d4dedde9dcbebb3459d8ce0a6c365a9d035f006d6563994617740ef0bb418d9405136ddc23a060057489151d825d966fd665d20c
DIST promu-0.13.0.tar.gz 46099 BLAKE2B 674580c4b853881db6307f065678afdb561fcab51be6ad3ac604849b6a7f3c63b1eb5f5be4f4ee533f25e087b3ed19bb7584ee5c72b30b8c0e33d19f690cc115 SHA512 04feddf514417e636498d111b0cc9678af4b1c2be16eb61f257e013b10ec427b5055d54150a76dce0867d659ca7e8833702e29bdf32cb00d5d02dad906c3de21
+DIST promu-0.14.0-deps.tar.xz 9838972 BLAKE2B 110e71d59c05974ca2fd953c240b3f798e22bd9631463a6c211714dc9a0782fba38c6114180fe999e11de8776a8eb0a8e807e3ff6bc56cab7a3b3711c1846ff6 SHA512 675d4d16c2278064d7fe6b22c3e92c6e4bba865649342c1af7d7f3c99e35fc4679d132ca12ff5ea45bac64d8a40319dd55023bda1bbc601884c28da10103c1b7
+DIST promu-0.14.0.tar.gz 47254 BLAKE2B d944677b1ceb3cb6e6ff8fb1a04cb5df54b8731c7d721a6c8016ea96e8a7696f238fe614ff2011b0c3c2b6240799125bf6ec4ccacecd8fea16e35e29fc8e347b SHA512 709214f72f6ad1e4cbd04cb92b2f10efa2f198265f3a3e2274e8a454a2e24ce42db024d15e26f8bb5f9e3c8672d212dac6b0a52cead8dde9e425f0bf72577260
diff --git a/dev-util/promu/promu-0.14.0.ebuild b/dev-util/promu/promu-0.14.0.ebuild
new file mode 100644
index 000000000000..bbe5b1550475
--- /dev/null
+++ b/dev-util/promu/promu-0.14.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+EGIT_COMMIT=a880d9756ae466605040585bc3b15005b55cc9f6
+
+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
+ https://dev.gentoo.org/~xen0n/distfiles/dev-util/promu/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE=""
+
+RESTRICT+=" test"
+
+src_prepare() {
+ default
+ sed -i -e "s/{{.Revision}}/${EGIT_COMMIT}/" .promu.yml || die
+}
+
+src_compile() {
+ ego build .
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc -r {doc,{README,CONTRIBUTING}.md}
+}