From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F45B15800F for ; Fri, 6 Jan 2023 07:16:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AC57E07B2; Fri, 6 Jan 2023 07:16:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 55EE3E07B2 for ; Fri, 6 Jan 2023 07:16:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C714335D54 for ; Fri, 6 Jan 2023 07:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CA1D76D for ; Fri, 6 Jan 2023 07:16:19 +0000 (UTC) From: "WANG Xuerui" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "WANG Xuerui" Message-ID: <1672989358.33b9f7d5b9c769223e67d25178cdb572ec77d16b.xen0n@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/promu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/promu/Manifest dev-util/promu/promu-0.14.0.ebuild X-VCS-Directories: dev-util/promu/ X-VCS-Committer: xen0n X-VCS-Committer-Name: WANG Xuerui X-VCS-Revision: 33b9f7d5b9c769223e67d25178cdb572ec77d16b X-VCS-Branch: master Date: Fri, 6 Jan 2023 07:16:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33cc83c3-4747-4862-91c7-44fea72f3214 X-Archives-Hash: ffc2f6f29c615e2b09479083359ace47 commit: 33b9f7d5b9c769223e67d25178cdb572ec77d16b Author: WANG Xuerui gentoo org> AuthorDate: Wed Jan 4 04:36:02 2023 +0000 Commit: WANG Xuerui gentoo org> CommitDate: Fri Jan 6 07:15:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b9f7d5 dev-util/promu: add 0.14.0 See: https://github.com/gentoo/gentoo/pull/28951 Signed-off-by: WANG Xuerui gentoo.org> Reviewed-by: Zac Medico gentoo.org> dev-util/promu/Manifest | 2 ++ dev-util/promu/promu-0.14.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) 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} +}