public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/memcached_exporter/
Date: Mon, 27 Jan 2025 16:39:38 +0000 (UTC)	[thread overview]
Message-ID: <1737995944.d23ee5a4f927d9f6ee354d7e11b3775ce9b976d6.williamh@gentoo> (raw)

commit:     d23ee5a4f927d9f6ee354d7e11b3775ce9b976d6
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 27 16:39:04 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan 27 16:39:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d23ee5a4

app-metrics/memcached_exporter: add 0.15.0

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

 app-metrics/memcached_exporter/Manifest            |  2 +
 .../memcached_exporter-0.15.0.ebuild               | 44 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/app-metrics/memcached_exporter/Manifest b/app-metrics/memcached_exporter/Manifest
index 52fb3495ac5d..11c1ef1015f4 100644
--- a/app-metrics/memcached_exporter/Manifest
+++ b/app-metrics/memcached_exporter/Manifest
@@ -1,2 +1,4 @@
 DIST memcached_exporter-0.10.0-deps.tar.xz 24009256 BLAKE2B acdf45e6340e95601ecd5b1a7d5bc6d61ec5f323d01ebd0be54e151643a647dabe4705f70ad6b68c3df254deeb5103406809cf4f7080ca5f6c17765ed4024735 SHA512 e567b0a94d7ccc7b87b51bb08f165b88aae24338a2a28ca8f392057eda508407615d43d5d821ae7fd48ca2d50df2bf2b9d2acce3f7be23d12f79ac4ba09c7ed2
 DIST memcached_exporter-0.10.0.tar.gz 41003 BLAKE2B 497d1643ac7909cda5d82df5cb89dc09a7f961d3a6e7d60d8619f5f0ebce444e565bc00cb98843dd5f81a7618b38bc14dad9af4063bba58e24ae7e7db6a8de00 SHA512 53b913cb7f398dae5de5f3ccf6c468775a30528ff390cbd112dc7a9aba584c36cc7834b74ee1c1130e4ac19d63f01cc10ca5c6853480bdb130248ab7d0f0ba51
+DIST memcached_exporter-0.15.0-deps.tar.xz 40610668 BLAKE2B df1ca5a0548896d4728c12e7ade9390a8d9c0239291b02408bf612eb04bc04689bee7042d0e36a2e77175df77d4c7751992715e9385255fb9af635011d5212d0 SHA512 4c0cd5956402eae89095c0612df7677abd9951ca3e177d38b7c9ef2afcea11059f9fe13be0d6c80d669c2007861c318a093eab947f7ba88b7798494beed811f1
+DIST memcached_exporter-0.15.0.tar.gz 30762 BLAKE2B 55b01549ea1c97459fdaa548b95778202106b3830af416a959bde30cea3edd47f9892f1b14f9fc59d4f9c8ba3a5b43d029f2012947ba7e357b8317747e0aa03a SHA512 e6584fcce4f5b78524a44ab6a1bc1626560b80a47ca50c3e8754d1cfbce7ad70e71aaf9dcadef15e284ac45392734e8262204652ce90351931b5499802885020

diff --git a/app-metrics/memcached_exporter/memcached_exporter-0.15.0.ebuild b/app-metrics/memcached_exporter/memcached_exporter-0.15.0.ebuild
new file mode 100644
index 000000000000..202b78fe5c7e
--- /dev/null
+++ b/app-metrics/memcached_exporter/memcached_exporter-0.15.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+GIT_COMMIT=ceb946ecae3aace775a0becb8233ca3890a829c3
+
+DESCRIPTION="Prometheus exporter for memcached"
+HOMEPAGE="https://github.com/prometheus/memcached_exporter"
+SRC_URI="https://github.com/prometheus/memcached_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="dev-util/promu"
+DEPEND="acct-group/memcached_exporter
+	acct-user/memcached_exporter"
+RDEPEND="${DEPEND}"
+
+# tests require the memcached_exporter daemon to be running locally
+RESTRICT+=" test "
+
+src_prepare() {
+	default
+	sed -i \
+		-e "s/{{.Branch}}/HEAD/" \
+		-e "s/{{.Revision}}/${GIT_COMMIT}/" \
+		.promu.yml || die "sed failed"
+}
+
+src_compile() {
+	promu build -v --prefix bin || die
+}
+
+src_install() {
+	dobin bin/*
+	dodoc *.md
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	keepdir /var/log/${PN}
+	fowners ${PN}:${PN} /var/log/${PN}
+}


             reply	other threads:[~2025-01-27 16:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-27 16:39 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-17 22:36 [gentoo-commits] repo/gentoo:master commit in: app-metrics/memcached_exporter/ William Hubbs
2022-07-17 22:36 William Hubbs
2021-05-02 17:58 William Hubbs
2021-05-02 17:56 William Hubbs
2021-05-02 16:41 William Hubbs
2020-07-05 20:51 William Hubbs
2019-12-03  9:48 Michał Górny

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=1737995944.d23ee5a4f927d9f6ee354d7e11b3775ce9b976d6.williamh@gentoo \
    --to=williamh@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