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: Tue, 11 Dec 2018 08:12:23 +0000 (UTC) [thread overview]
Message-ID: <1544515931.22460f10c2a3d5a225fdfd374436beaf8076f5fb.mrueg@gentoo> (raw)
commit: 22460f10c2a3d5a225fdfd374436beaf8076f5fb
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 11 08:12:11 2018 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Dec 11 08:12:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22460f10
app-metrics/pushgateway: Version bump to 0.7.0
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
app-metrics/pushgateway/Manifest | 1 +
app-metrics/pushgateway/pushgateway-0.7.0.ebuild | 52 ++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/app-metrics/pushgateway/Manifest b/app-metrics/pushgateway/Manifest
index 5c5c372dfaa..31b3bb22cc7 100644
--- a/app-metrics/pushgateway/Manifest
+++ b/app-metrics/pushgateway/Manifest
@@ -2,3 +2,4 @@ DIST pushgateway-0.4.0.tar.gz 1140644 BLAKE2B ea82e2e7f6fd817de02044e5aafde724a4
DIST pushgateway-0.5.0.tar.gz 1566969 BLAKE2B 255592d172ba910cd4c031f33045ee92fa02b8ba04c69a844e1a81d0fb4c0425f4a71931c917cb70f90422e25ad8761892cde344acb3fa7465e682ff8671f31b SHA512 d0a96aa8b1a59266a8864ab760ad6fdbdc131c49b08aa3bf89f54ed9c6ced6a4b7ab2f8c70d15dad1605ec7b46c5e784dc77be10f26ebd56a3a0f16f7285d607
DIST pushgateway-0.5.2.tar.gz 1567286 BLAKE2B b62092b349ca8248937795f868e32fbd130df0b23de8b0c81a780102f8df3930db97a86061cf409d658c3e29e8d2eb6e350e18b9101a0bc9a0ba7b77a7fd79fc SHA512 4d6dcbc0199a83fe0469540ec70dbe230cf7c1d3efa66c55679b40e8882736b54af40423c7a2c1ab8693edca839bc67b4cd7125d52f9beab296c55f220e51482
DIST pushgateway-0.6.0.tar.gz 1768979 BLAKE2B 50c9a6a00a207787795402ca1198849f38d658233918bb4a34f6b0ac9ccef993ce4ff8060ffd20dc9f0d23b861f953d7e3f7785bbf5d88ffc5ed97342a05c530 SHA512 209e5349d0aeb584dcf45c842923b5280d11ce8af2ff2236454182d1a42554a9d1b7d7add363f31203caf081424187f6bac243f43efb916d90803c6e1de4f76a
+DIST pushgateway-0.7.0.tar.gz 1867703 BLAKE2B 588be72ba8f7b8421e36e7cb33ecc27e8f94c242e03d7a97b2f1f54c167373162a9e9e7dba63897e583331370b96723169359ebd78839a0bd1306f850dc24cc1 SHA512 2057c028e2427a9d63ad2fc47a0f367a9b075c259186659c7d20038d79aaa4f5a014a4304d36eee2e78c08af69e27f7f65e6aed2453c4fa630203fd4bf944c41
diff --git a/app-metrics/pushgateway/pushgateway-0.7.0.ebuild b/app-metrics/pushgateway/pushgateway-0.7.0.ebuild
new file mode 100644
index 00000000000..af0d7bd02d4
--- /dev/null
+++ b/app-metrics/pushgateway/pushgateway-0.7.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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="d5a56ba"
+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-lang/go-1.11
+ 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
+ GO111MODULE=on 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-12-11 8:12 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-11 8:12 Manuel Rüger [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-09 23:50 [gentoo-commits] repo/gentoo:master commit in: app-metrics/pushgateway/ Zac Medico
2023-12-03 23:15 Sam James
2022-11-30 5:40 Zac Medico
2022-11-30 0:51 Zac Medico
2022-11-01 23:43 Zac Medico
2022-06-02 3:04 Zac Medico
2022-05-16 0:30 Zac Medico
2022-05-16 0:30 Zac Medico
2021-10-12 0:18 Zac Medico
2021-07-18 17:00 Conrad Kostecki
2021-07-18 17:00 Conrad Kostecki
2021-06-12 19:45 Zac Medico
2021-06-12 16:30 Zac Medico
2021-06-12 15:57 Zac Medico
2021-06-12 15:55 Zac Medico
2020-07-09 19:53 William Hubbs
2019-11-24 22:11 Zac Medico
2019-11-23 10:56 Manuel Rüger
2019-10-17 13:45 Manuel Rüger
2019-10-16 10:19 Manuel Rüger
2019-10-16 10:19 Manuel Rüger
2019-09-21 2:09 Zac Medico
2019-09-21 2:01 Zac Medico
2019-09-21 2:01 Zac Medico
2019-07-29 9:21 Manuel Rüger
2019-07-29 9:17 Manuel Rüger
2019-04-16 9:04 Manuel Rüger
2018-10-28 16:52 Manuel Rüger
2018-06-16 14:01 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=1544515931.22460f10c2a3d5a225fdfd374436beaf8076f5fb.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