public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/promu/
Date: Mon,  2 Oct 2023 03:36:17 +0000 (UTC)	[thread overview]
Message-ID: <1696217774.4b1686dfef9d664fd96b0c8241879321a62e3e1c.zmedico@gentoo> (raw)

commit:     4b1686dfef9d664fd96b0c8241879321a62e3e1c
Author:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
AuthorDate: Sun Oct  1 10:46:59 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> 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 <rahil3108 <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> 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 @@
 		<email>zmedico@gentoo.org</email>
 		<name>Zac Medico</name>
 	</maintainer>
+	<maintainer type="person" proxied="yes">
+		<email>rahil3108@gmail.com</email>
+		<name>Rahil Bhimjiani</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 	<upstream>
 		<remote-id type="github">prometheus/promu</remote-id>
+		<bugs-to>https://github.com/prometheus/promu/issues</bugs-to>
+		<doc>https://github.com/prometheus/promu/blob/master/README.md</doc>
 	</upstream>
 </pkgmetadata>

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
+}


             reply	other threads:[~2023-10-02  3:36 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-02  3:36 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-19 13:11 [gentoo-commits] repo/gentoo:master commit in: dev-util/promu/ Arthur Zamarin
2025-01-19 13:11 Arthur Zamarin
2024-10-24 19:28 Zac Medico
2024-06-15 19:21 Arthur Zamarin
2024-02-23 12:54 Joonas Niilola
2024-01-07  6:14 Sam James
2023-11-25  0:59 Zac Medico
2023-11-17 12:13 Sam James
2023-04-30 23:53 Sam James
2023-01-06  7:16 WANG Xuerui
2023-01-06  7:16 WANG Xuerui
2022-06-29  7:21 WANG Xuerui
2022-05-15 23:14 Zac Medico
2022-05-15 23:14 Zac Medico
2022-03-14 15:15 William Hubbs
2021-11-07  3:04 Zac Medico
2021-03-26  2:20 Zac Medico
2021-03-26  2:19 Zac Medico
2021-01-11 23:05 William Hubbs
2020-11-13  8:15 Robin H. Johnson
2020-10-24 22:45 Zac Medico
2020-07-25  0:09 Sam James
2020-06-14 20:46 William Hubbs
2019-12-10  7:27 Zac Medico
2019-12-10  7:18 Zac Medico
2019-12-10  7:14 Zac Medico
2019-11-23 10:58 Manuel Rüger
2019-10-07  9:45 Manuel Rüger
2019-10-07  9:45 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-06-26  8:03 Manuel Rüger
2019-06-25 15:58 Manuel Rüger
2019-04-16  9:15 Manuel Rüger
2019-03-02 17:39 Manuel Rüger
2019-03-02 17:32 Manuel Rüger
2019-03-02 17:32 Manuel Rüger
2019-01-15 14:44 Manuel Rüger
2018-03-08 18:45 Manuel Rüger
2018-01-25 18:51 Manuel Rüger
2017-10-04  9:09 Michał Górny
2017-09-24 18:54 Manuel Rüger
2017-09-24 18:54 Manuel Rüger
2017-06-12 11:26 Manuel Rüger
2017-06-12 11:25 Manuel Rüger
2017-02-07 16:03 Manuel Rüger
2016-12-13 19:27 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1696217774.4b1686dfef9d664fd96b0c8241879321a62e3e1c.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox