From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/pushgateway/
Date: Sat, 16 Jun 2018 14:01:12 +0000 (UTC) [thread overview]
Message-ID: <1529157656.f1b8e15de61579c83b8247339cb45f55d71320cb.mrueg@gentoo> (raw)
commit: f1b8e15de61579c83b8247339cb45f55d71320cb
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 16 14:00:56 2018 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Jun 16 14:00:56 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b8e15d
app-metrics/pushgateway: Version bump to 0.5.2
Package-Manager: Portage-2.3.40, Repoman-2.3.9
app-metrics/pushgateway/Manifest | 1 +
app-metrics/pushgateway/pushgateway-0.5.2.ebuild | 51 ++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/app-metrics/pushgateway/Manifest b/app-metrics/pushgateway/Manifest
index ad95cf77cbc..92428ccfb99 100644
--- a/app-metrics/pushgateway/Manifest
+++ b/app-metrics/pushgateway/Manifest
@@ -1,2 +1,3 @@
DIST pushgateway-0.4.0.tar.gz 1140644 BLAKE2B ea82e2e7f6fd817de02044e5aafde724a4089e4f2961f0b581f90df7e04e65af5a3c3e044ef94bd600a92468a8aed791c838a8fdc64b05b7a91d6288e7e96fb3 SHA512 67f25e5f7fdc54143c5d10720f27bd256f22695ced93088cf2b72fe3197e45324d4353357ae40d7d3e92019480c0bec009e38ed3f583724d46411d76adbdc927
DIST pushgateway-0.5.0.tar.gz 1566969 BLAKE2B 255592d172ba910cd4c031f33045ee92fa02b8ba04c69a844e1a81d0fb4c0425f4a71931c917cb70f90422e25ad8761892cde344acb3fa7465e682ff8671f31b SHA512 d0a96aa8b1a59266a8864ab760ad6fdbdc131c49b08aa3bf89f54ed9c6ced6a4b7ab2f8c70d15dad1605ec7b46c5e784dc77be10f26ebd56a3a0f16f7285d607
+DIST pushgateway-0.5.2.tar.gz 1567286 BLAKE2B b62092b349ca8248937795f868e32fbd130df0b23de8b0c81a780102f8df3930db97a86061cf409d658c3e29e8d2eb6e350e18b9101a0bc9a0ba7b77a7fd79fc SHA512 4d6dcbc0199a83fe0469540ec70dbe230cf7c1d3efa66c55679b40e8882736b54af40423c7a2c1ab8693edca839bc67b4cd7125d52f9beab296c55f220e51482
diff --git a/app-metrics/pushgateway/pushgateway-0.5.2.ebuild b/app-metrics/pushgateway/pushgateway-0.5.2.ebuild
new file mode 100644
index 00000000000..48c3741c223
--- /dev/null
+++ b/app-metrics/pushgateway/pushgateway-0.5.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot systemd
+
+EGO_PN="github.com/prometheus/pushgateway"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+GIT_COMMIT="231071b"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus push acceptor for ephemeral and batch jobs"
+HOMEPAGE="https://github.com/prometheus/pushgateway"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ default
+ sed -i -e "s/{{.Revision}}/${GIT_COMMIT}/" src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ mkdir -p bin || die
+ GOPATH="${S}" promu build -v --prefix bin || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin bin/pushgateway
+ dodoc {README,CHANGELOG,CONTRIBUTING}.md
+ popd || die
+ keepdir /var/lib/${PN} /var/log/${PN}
+ fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
+ newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}-1.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+ systemd_dounit "${FILESDIR}/${PN}-1.service"
+}
next reply other threads:[~2018-06-16 14:01 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-16 14:01 Manuel Rüger [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-10-28 16:52 [gentoo-commits] repo/gentoo:master commit in: app-metrics/pushgateway/ Manuel Rüger
2018-12-11 8:12 Manuel Rüger
2019-04-16 9:04 Manuel Rüger
2019-07-29 9:17 Manuel Rüger
2019-07-29 9:21 Manuel Rüger
2019-09-21 2:01 Zac Medico
2019-09-21 2:01 Zac Medico
2019-09-21 2:09 Zac Medico
2019-10-16 10:19 Manuel Rüger
2019-10-16 10:19 Manuel Rüger
2019-10-17 13:45 Manuel Rüger
2019-11-23 10:56 Manuel Rüger
2019-11-24 22:11 Zac Medico
2020-07-09 19:53 William Hubbs
2021-06-12 15:55 Zac Medico
2021-06-12 15:57 Zac Medico
2021-06-12 16:30 Zac Medico
2021-06-12 19:45 Zac Medico
2021-07-18 17:00 Conrad Kostecki
2021-07-18 17:00 Conrad Kostecki
2021-10-12 0:18 Zac Medico
2022-05-16 0:30 Zac Medico
2022-05-16 0:30 Zac Medico
2022-06-02 3:04 Zac Medico
2022-11-01 23:43 Zac Medico
2022-11-30 0:51 Zac Medico
2022-11-30 5:40 Zac Medico
2023-12-03 23:15 Sam James
2025-01-09 23:50 Zac Medico
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=1529157656.f1b8e15de61579c83b8247339cb45f55d71320cb.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