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 B881E158089 for ; Mon, 2 Oct 2023 03:36:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 029662BC01D; Mon, 2 Oct 2023 03:36:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D64222BC01D for ; Mon, 2 Oct 2023 03:36:20 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98CD0335C31 for ; Mon, 2 Oct 2023 03:36:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C570E8D8 for ; Mon, 2 Oct 2023 03:36:17 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1696217774.4b1686dfef9d664fd96b0c8241879321a62e3e1c.zmedico@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/metadata.xml dev-util/promu/promu-0.15.0.ebuild dev-util/promu/promu-9999.ebuild X-VCS-Directories: dev-util/promu/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 4b1686dfef9d664fd96b0c8241879321a62e3e1c X-VCS-Branch: master Date: Mon, 2 Oct 2023 03:36:17 +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: f4bfbea5-e206-4512-b2d8-b3da48f1ac0b X-Archives-Hash: cffed2d543c2bf37f3470c10ee355b42 commit: 4b1686dfef9d664fd96b0c8241879321a62e3e1c Author: Rahil Bhimjiani gmail com> AuthorDate: Sun Oct 1 10:46:59 2023 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Oct 2 03:36:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b1686df dev-util/promu: add 0.15.0 & live rewrote to be in more align with upstream's instructions Closes: https://github.com/gentoo/gentoo/pull/33145 Signed-off-by: Rahil Bhimjiani gmail.com> Signed-off-by: Zac Medico gentoo.org> dev-util/promu/Manifest | 2 ++ dev-util/promu/metadata.xml | 10 ++++++++ dev-util/promu/promu-0.15.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ dev-util/promu/promu-9999.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 106 insertions(+) diff --git a/dev-util/promu/Manifest b/dev-util/promu/Manifest index d0f72ebc4f7f..3c1653f92685 100644 --- a/dev-util/promu/Manifest +++ b/dev-util/promu/Manifest @@ -2,3 +2,5 @@ DIST promu-0.13.0-deps.tar.xz 106902576 BLAKE2B c09fadd7957896a452f3d34bf066eddc 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 +DIST promu-0.15.0-deps.tar.xz 11022948 BLAKE2B e8f1a65dca92147c1f617dbfb7279c1eb45efcdc93a019c7a4fb9e9ff2895e71283e1368751e37732972554d7dce20ed08553f9e3111efa2b48eb0c86e191a06 SHA512 f4d1456969ea5454990ccebf81d49e857e3a6311b81dfcdb2538e82e8b7842d1020fd489567a10534759d44c69f6adb1e70f9de4b36c24286908c5758b8fd05d +DIST promu-0.15.0.tar.gz 33465 BLAKE2B 83fae1e8cf663fe9aaedbdf66d86f3d4d7db0b14572cec9f0e9b25a205712cf19b137f6cafa3adcc0cbdd9177078a1bc696b9333ae830cf38de83e4837829abf SHA512 7e1de86c67b7a6d469e49b63431c9be1f93295f79225bfe409deef426c11c2f5273e185ef3b53ff5fd5fd41ddf7d9ddc79c2629e34a7ae2ec55adebdf8ff3b44 diff --git a/dev-util/promu/metadata.xml b/dev-util/promu/metadata.xml index 9a9b03c07115..0d1185897523 100644 --- a/dev-util/promu/metadata.xml +++ b/dev-util/promu/metadata.xml @@ -5,7 +5,17 @@ zmedico@gentoo.org Zac Medico + + rahil3108@gmail.com + Rahil Bhimjiani + + + proxy-maint@gentoo.org + Proxy Maintainers + prometheus/promu + https://github.com/prometheus/promu/issues + https://github.com/prometheus/promu/blob/master/README.md diff --git a/dev-util/promu/promu-0.15.0.ebuild b/dev-util/promu/promu-0.15.0.ebuild new file mode 100644 index 000000000000..36b0779a8ac2 --- /dev/null +++ b/dev-util/promu/promu-0.15.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Prometheus Utility Tool" +HOMEPAGE="https://github.com/prometheus/promu" +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/prometheus/promu.git" +else + SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +fi +LICENSE="Apache-2.0" +LICENSE+=" BSD BSD-2 MIT" +SLOT="0" + +RESTRICT+=" test" +DOCS=( + "doc/examples" + "README.md" +) + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + emake build +} + +src_install() { + if [[ ${PV} == *9999 ]]; then + dobin "${PN}" + else + newbin "${P}" "${PN}" + fi + einstalldocs +} diff --git a/dev-util/promu/promu-9999.ebuild b/dev-util/promu/promu-9999.ebuild new file mode 100644 index 000000000000..36b0779a8ac2 --- /dev/null +++ b/dev-util/promu/promu-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Prometheus Utility Tool" +HOMEPAGE="https://github.com/prometheus/promu" +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/prometheus/promu.git" +else + SRC_URI="https://github.com/prometheus/promu/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +fi +LICENSE="Apache-2.0" +LICENSE+=" BSD BSD-2 MIT" +SLOT="0" + +RESTRICT+=" test" +DOCS=( + "doc/examples" + "README.md" +) + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + emake build +} + +src_install() { + if [[ ${PV} == *9999 ]]; then + dobin "${PN}" + else + newbin "${P}" "${PN}" + fi + einstalldocs +}