public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
@ 2019-08-19 14:41 Manuel Rüger
  0 siblings, 0 replies; 6+ messages in thread
From: Manuel Rüger @ 2019-08-19 14:41 UTC (permalink / raw
  To: gentoo-commits

commit:     85fee5e5b3cad56e4ca6007ac9b603efdec8f160
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 19 14:41:21 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Aug 19 14:41:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85fee5e5

app-metrics/prom2json: Drop to maintainer needed

Package-Manager: Portage-2.3.72, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 app-metrics/prom2json/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-metrics/prom2json/metadata.xml b/app-metrics/prom2json/metadata.xml
index eaf3cc3d6f8..a4d942c42b7 100644
--- a/app-metrics/prom2json/metadata.xml
+++ b/app-metrics/prom2json/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>mrueg@gentoo.org</email>
-		<name>Manuel Rüger</name>
-	</maintainer>
+	<!-- maintainer-needed -->
 	<upstream>
 		<remote-id type="github">prometheus/prom2json</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
@ 2020-07-07 15:09 William Hubbs
  0 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2020-07-07 15:09 UTC (permalink / raw
  To: gentoo-commits

commit:     605914ccfb12f2fd35c61688addb39e04b747851
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  7 15:05:02 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jul  7 15:09:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=605914cc

app-metrics/prom2json: add myself as maintainer

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/prom2json/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-metrics/prom2json/metadata.xml b/app-metrics/prom2json/metadata.xml
index a4d942c42b7..0900b932fe1 100644
--- a/app-metrics/prom2json/metadata.xml
+++ b/app-metrics/prom2json/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>williamh@gentoo.org</email>
+			<name>William Hubbs</name>
+				</maintainer>
 	<upstream>
 		<remote-id type="github">prometheus/prom2json</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
@ 2020-07-07 15:09 William Hubbs
  0 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2020-07-07 15:09 UTC (permalink / raw
  To: gentoo-commits

commit:     977c64661759cc23ca516517edf08b297c74b275
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  7 15:08:48 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jul  7 15:09:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977c6466

app-metrics/prom2json: 1.3.0 bump

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/prom2json/Manifest               |  1 +
 app-metrics/prom2json/prom2json-1.3.0.ebuild | 35 ++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/app-metrics/prom2json/Manifest b/app-metrics/prom2json/Manifest
index bd8d9aa7971..a99918699d3 100644
--- a/app-metrics/prom2json/Manifest
+++ b/app-metrics/prom2json/Manifest
@@ -1 +1,2 @@
 DIST prom2json-0.1.0_p20170523.tar.gz 129179 BLAKE2B ef0e42e340d53894c31bff7018b668d8575fc3568584a43dc308955665ac6f59dbabf2d4605bc2a66957df57a29ebb7b3a4eef1f99537eefc2805a5ffd86904f SHA512 824f4c43f4a167dc7dde2f11e84cf482e5cdfa26ab11caf08a5461d525543c3491180f54694c4ae61fdd5dc9763ff16f6e29b332a64dc3ac52fdb7b9c0902571
+DIST prom2json-1.3.0.tar.gz 1646893 BLAKE2B 9b8fcfa4a3e45ee08a57016fa6a7611604cbb578f162f0bf7ff8338f345f98788b75c3ac047ffca95b62020e972c302bc1c44f2f7f00240cfd978f73b8d9c829 SHA512 8f02c7b2616d915e2b4ff5f195a8c2eff89d18417f7396dc02d2aa4cf34711358b0beef6effae9b42a3d6f4b0616c5d3ab995a73ab9e37a4a0ec230adff6f249

diff --git a/app-metrics/prom2json/prom2json-1.3.0.ebuild b/app-metrics/prom2json/prom2json-1.3.0.ebuild
new file mode 100644
index 00000000000..d90427c7afa
--- /dev/null
+++ b/app-metrics/prom2json/prom2json-1.3.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+GIT_COMMIT=9180c89ee65bde2cbbe799d06d7d09e30f629984
+
+DESCRIPTION="A tool to scrape a Prometheus client and dump the result as JSON"
+HOMEPAGE="https://github.com/prometheus/prom2json"
+SRC_URI="https://github.com/prometheus/prom2json/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64"
+
+BDEPEND="dev-util/promu"
+
+src_prepare() {
+	default
+	sed -i \
+		-e "s/{{.Revision}}/${GIT_COMMIT}/" \
+		-e "s/{{.Version}}/${PV}/" \
+		.promu.yml || die
+}
+
+src_compile() {
+	mkdir bin || die
+	promu build --prefix bin || die
+}
+
+src_install() {
+	dobin bin/*
+	dodoc {README,CONTRIBUTING}.md
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
@ 2021-04-03 21:58 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-04-03 21:58 UTC (permalink / raw
  To: gentoo-commits

commit:     41c554ca3a582c37949bf1fed707b81b5117506d
Author:     Matt Smith <matt <AT> offtopica <DOT> uk>
AuthorDate: Sat Apr  3 16:44:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 21:58:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c554ca

app-metrics/prom2json: Remove unused eclass

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild b/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild
index 8bc84e32383..bc3abad7c8c 100644
--- a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild
+++ b/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit user golang-build golang-vcs-snapshot
+
+inherit golang-build golang-vcs-snapshot
 
 EGO_PN="github.com/prometheus/${PN}"
 EGIT_COMMIT="4a7436442837da72f9e211d99f0145dff3246b66"
@@ -14,7 +15,6 @@ HOMEPAGE="https://github.com/prometheus/prom2json"
 SRC_URI="${ARCHIVE_URI}"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE=""
 
 DEPEND="dev-util/promu"
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
@ 2023-02-04  6:25 William Hubbs
  0 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2023-02-04  6:25 UTC (permalink / raw
  To: gentoo-commits

commit:     3cbb30e77954f14e5057e9c25efce77d20a02397
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 06:24:14 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 06:24:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbb30e7

app-metrics/prom2json: drop 0.1.0_p20170523

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/prom2json/Manifest                     |  1 -
 .../prom2json/prom2json-0.1.0_p20170523.ebuild     | 38 ----------------------
 2 files changed, 39 deletions(-)

diff --git a/app-metrics/prom2json/Manifest b/app-metrics/prom2json/Manifest
index a99918699d37..698cd6719906 100644
--- a/app-metrics/prom2json/Manifest
+++ b/app-metrics/prom2json/Manifest
@@ -1,2 +1 @@
-DIST prom2json-0.1.0_p20170523.tar.gz 129179 BLAKE2B ef0e42e340d53894c31bff7018b668d8575fc3568584a43dc308955665ac6f59dbabf2d4605bc2a66957df57a29ebb7b3a4eef1f99537eefc2805a5ffd86904f SHA512 824f4c43f4a167dc7dde2f11e84cf482e5cdfa26ab11caf08a5461d525543c3491180f54694c4ae61fdd5dc9763ff16f6e29b332a64dc3ac52fdb7b9c0902571
 DIST prom2json-1.3.0.tar.gz 1646893 BLAKE2B 9b8fcfa4a3e45ee08a57016fa6a7611604cbb578f162f0bf7ff8338f345f98788b75c3ac047ffca95b62020e972c302bc1c44f2f7f00240cfd978f73b8d9c829 SHA512 8f02c7b2616d915e2b4ff5f195a8c2eff89d18417f7396dc02d2aa4cf34711358b0beef6effae9b42a3d6f4b0616c5d3ab995a73ab9e37a4a0ec230adff6f249

diff --git a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild b/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild
deleted file mode 100644
index bc3abad7c8c2..000000000000
--- a/app-metrics/prom2json/prom2json-0.1.0_p20170523.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/${PN}"
-EGIT_COMMIT="4a7436442837da72f9e211d99f0145dff3246b66"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="A tool to scrape a Prometheus client and dump the result as JSON"
-HOMEPAGE="https://github.com/prometheus/prom2json"
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-
-DEPEND="dev-util/promu"
-
-src_prepare() {
-	default
-	sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-	pushd src/${EGO_PN} || die
-	mkdir -p bin || die
-	GOPATH="${S}" promu build -v --prefix ${PN} || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin ${PN}/${PN}
-	dodoc {README,CONTRIBUTING}.md
-	popd || die
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/
@ 2023-02-04  6:25 William Hubbs
  0 siblings, 0 replies; 6+ messages in thread
From: William Hubbs @ 2023-02-04  6:25 UTC (permalink / raw
  To: gentoo-commits

commit:     c481d2974328528470245ac65fe59fb99ed4eb3c
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 06:24:15 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 06:24:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c481d297

app-metrics/prom2json: fix tests

Closes: https://bugs.gentoo.org/893148
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/prom2json/prom2json-1.3.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-metrics/prom2json/prom2json-1.3.0.ebuild b/app-metrics/prom2json/prom2json-1.3.0.ebuild
index 464297b7bc1a..ece0dcf32a9b 100644
--- a/app-metrics/prom2json/prom2json-1.3.0.ebuild
+++ b/app-metrics/prom2json/prom2json-1.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,6 +29,10 @@ src_compile() {
 	promu build --prefix bin || die
 }
 
+src_test() {
+	emake test-flags= test || die
+}
+
 src_install() {
 	dobin bin/*
 	dodoc {README,CONTRIBUTING}.md


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-02-04  6:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-19 14:41 [gentoo-commits] repo/gentoo:master commit in: app-metrics/prom2json/ Manuel Rüger
  -- strict thread matches above, loose matches on Subject: below --
2020-07-07 15:09 William Hubbs
2020-07-07 15:09 William Hubbs
2021-04-03 21:58 Sam James
2023-02-04  6:25 William Hubbs
2023-02-04  6:25 William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox