mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
app-metrics/consul_exporter: drop 0.7.1, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
f6a34e32b3
commit
3703b2fa5c
@ -1,3 +1,2 @@
|
||||
DIST consul_exporter-0.13.0-deps.tar.xz 41437028 BLAKE2B 35491dc107030d0d705aad68df69c3deed121564464373c820cc10990beb70d6043ae72c65d3289081a0356b5a302500da8c74fc9a5692cc06032a2db1c8514e SHA512 497db1db0ca37c38da293d5186274dcc4e5b20741a048a9bb07338d2f158fef43f8bcb5647cbc14065946eb00fc3a0e5f6b0e06616004b14d6084526fc838437
|
||||
DIST consul_exporter-0.13.0.tar.gz 34832 BLAKE2B d85e0320827852493c24be4108786e054f59fac0dd509b84bfd57a99ff239dd93c7a35bb211a83b5020613116519c22f70e1e0913d505eff387d67aac2f3f9b9 SHA512 8ff923350fd935ee79aae582f955565c8127ac2f734d246714db4f47b1e2dca00312a8194cd59f835a3c173e66ff1b1c8f59d8576b27bcc4019b17a64224b3d5
|
||||
DIST consul_exporter-0.7.1.tar.gz 1583526 BLAKE2B 8c3211f1d75a767e18e47e16eef056dc07403abbd1cdb165a45b8d0830124e3e91b7dac67301e1b5d1ed564a94dfe9ff05c43267dbeb950ca1ff9b698ebd25ce SHA512 bc5ef24151d53abefd4b975f1ca3a18c98837c6c650c4bf6851fbc1299620db6e8e79a05d2355579ee78c1d2721ceec4bc946ee76d6bf7acdecb6f76957f5984
|
||||
|
||||
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
CONSUL_EXPORTER_COMMIT=ae46e2e
|
||||
MY_PV="v${PV/_rc/-rc.}"
|
||||
|
||||
DESCRIPTION="Prometheus exporter for consul metrics"
|
||||
HOMEPAGE="https://github.com/prometheus/consul_exporter"
|
||||
SRC_URI="https://github.com/prometheus/consul_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="dev-util/promu"
|
||||
COMMON_DEPEND="acct-group/consul_exporter
|
||||
acct-user/consul_exporter"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e "s/{{.Revision}}/${CONSUL_EXPORTER_COMMIT}/" \
|
||||
-e "s/{{.Version}}/${PV}/" \
|
||||
.promu.yml || die "Sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
promu build -v || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${P} ${PN}
|
||||
dodoc {README,CONTRIBUTING}.md
|
||||
keepdir /var/log/consul_exporter
|
||||
fowners ${PN}:${PN} /var/log/consul_exporter
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user