summaryrefslogtreecommitdiff
path: root/app-metrics/prom2json
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-metrics/prom2json
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'app-metrics/prom2json')
-rw-r--r--app-metrics/prom2json/Manifest4
-rw-r--r--app-metrics/prom2json/metadata.xml5
-rw-r--r--app-metrics/prom2json/prom2json-1.3.0.ebuild35
3 files changed, 42 insertions, 2 deletions
diff --git a/app-metrics/prom2json/Manifest b/app-metrics/prom2json/Manifest
index 3397969471b8..e184a3011da8 100644
--- a/app-metrics/prom2json/Manifest
+++ b/app-metrics/prom2json/Manifest
@@ -1,3 +1,5 @@
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
EBUILD prom2json-0.1.0_p20170523.ebuild 921 BLAKE2B 8c4c359398fd7941f127c2fec6f8a0306f53dee43d2948873ffffe840b27f35ce2753c787f2bdfc6445ef9371fa10b4edc36dc3c2565e358ee7f9c8fe868b6ad SHA512 85ba4728a68ea42bc69f196e0e027f38ece006b9af5b2c9fe2da30b2605f79dc568017132e2eaa116b109bc7f18109581c8d69df641f82c7ce0066ea5dd9d3f2
-MISC metadata.xml 252 BLAKE2B ba7b5183b5a1685794845e1070f0024be5bdd6e73f2727a3f905189d68851416ee0ce6a2d481da059964761cfa256581c75b5d96fd36455bb56cc0f7be4cc85a SHA512 2d90bda7f93668f2b160b8bc41c11aa0d5a9aed5c195534c691aa221500cfd27097c5180001a59be5b4d8a28fd4244d64966ee1a918806589d18e8b3c428d248
+EBUILD prom2json-1.3.0.ebuild 749 BLAKE2B 0df29cf7eba0fbb1167dd9b2ebd5d9a46662242984a7c4056fd17c35f47c2a0158f0dc0ade186c9f37cb7d0005dfab07dffdf6efb6c92ec65c492361546f1bad SHA512 a196312a48c7e224b9a07dd4a7d5baef11e39b40f95d53f30b8548497c2bf13d4761a22f7567d593d14afd7486b5e0a3c8d64cc97c18af1611245d85a1e45448
+MISC metadata.xml 337 BLAKE2B 5db6323f6d84dfdb7e5d9faa9e874af05ed0bb90d5e23960cc40a566ec27be4ffee93a4fa59b7787b03c2cfd1c20870266acc10bd1b305ce85590103345ea9fb SHA512 d00eade6a00047fd4cadc6ff130d46a1f741ba72345a24ee52b7ce0608ca437086e8caa6b35bb04081bf7e1e3b298ade168e86d3775fd784c8d8539b077a2bfe
diff --git a/app-metrics/prom2json/metadata.xml b/app-metrics/prom2json/metadata.xml
index a4d942c42b71..0900b932fe15 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>
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 000000000000..d90427c7afa8
--- /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
+}