public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-node_exporter/
Date: Mon, 13 Mar 2017 11:39:19 +0000 (UTC)	[thread overview]
Message-ID: <1489405145.3d37f7e56cf996aec16e59dd3e62133840d2a56a.mrueg@gentoo> (raw)

commit:     3d37f7e56cf996aec16e59dd3e62133840d2a56a
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 13 11:38:19 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Mar 13 11:39:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d37f7e5

net-analyzer/prometheus-node_exporter: Version bump to 0.14.0_rc2

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 net-analyzer/prometheus-node_exporter/Manifest     |  1 +
 .../prometheus-node_exporter-0.14.0_rc2.ebuild     | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest b/net-analyzer/prometheus-node_exporter/Manifest
index daa9b0ee896..20d2caed2d6 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-node_exporter-0.14.0_rc1.tar.gz 1054858 SHA256 bcc2c544e1bac46d6768d4ddb59ec08fa4dfda2f370145c44dc80adff8a35b17 SHA512 1b54ddb48984408909a7112c411cb4dee9c8fc05fc3fabd1e1d9a4ff5c2e85b2d5dedd9c70027b2b4df7539d8b0e8d1958bb5e05f9a1abd08ad3e09d6c59b321 WHIRLPOOL d5b253ec6d67415eb0c82794f75f4d1d659fecb9d880429ef5c021bbe45ccef1304a6823c545b78175dbb01c37b06120008b9c92f44e9a6defa83bcfe2df4549
+DIST prometheus-node_exporter-0.14.0_rc2.tar.gz 1084859 SHA256 e5d8a3245668e8a7453a86c929e04d2200a5730a497618715ef14f4642bdf364 SHA512 17800439eddb85bb8ec1e3fd5c1054610e41c419f5ec159a2f989d3d76ad5077350911773d866353912fc23bb12c0565f6f0a74e24825ab1c628723867a4a6ac WHIRLPOOL e4ce1c854d79bc6500bc04527a4b1dc3f7489ed34e0f2705cb2b9ddb7049aacb4dd0c13929d286ff80ca076662d78f08a77b42f2a3edcbb9b84e75b79613a6e7

diff --git a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
new file mode 100644
index 00000000000..8bfa86bbaa4
--- /dev/null
+++ b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/node_exporter/..."
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="0e60bb8"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/prometheus"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+	enewgroup prometheus-exporter
+	enewuser prometheus-exporter -1 -1 -1 prometheus-exporter
+}
+
+src_prepare() {
+	default
+	sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+	pushd src/${EGO_PN%/*} || die
+	mkdir bin
+	GOPATH="${S}" promu build -v --prefix prometheus-node_exporter || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN%/*} || die
+	dobin prometheus-node_exporter
+	dodoc {README,CHANGELOG,CONTRIBUTING}.md
+	popd || die
+	keepdir /etc/prometheus-exporter /var/log/prometheus-exporter
+	fowners prometheus-exporter:prometheus-exporter /etc/prometheus-exporter /var/log/prometheus-exporter
+	newinitd "${FILESDIR}"/prometheus-node_exporter.initd prometheus-node_exporter
+	newconfd "${FILESDIR}"/prometheus-node_exporter.confd prometheus-node_exporter
+}


             reply	other threads:[~2017-03-13 11:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 11:39 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-25 18:51 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-node_exporter/ Manuel Rüger
2018-01-16 15:56 Manuel Rüger
2017-12-07 14:42 Manuel Rüger
2017-11-08 12:31 Manuel Rüger
2017-11-08 12:31 Manuel Rüger
2017-10-12 18:31 Manuel Rüger
2017-10-12  9:22 Tobias Klausmann
2017-09-18 10:49 Manuel Rüger
2017-06-05 16:55 Manuel Rüger
2017-06-05 15:24 Manuel Rüger
2017-01-23 18:25 Manuel Rüger
2017-01-23 18:25 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=1489405145.3d37f7e56cf996aec16e59dd3e62133840d2a56a.mrueg@gentoo \
    --to=mrueg@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