Diff consul_exporter-0.7.1 with a consul_exporter-0.13.0

/usr/portage/app-metrics/consul_exporter/consul_exporter-0.13.0.ebuild 2025-02-03 17:39:32.302665042 +0300
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5

  
5 6
inherit go-module
6
CONSUL_EXPORTER_COMMIT=ae46e2e
7

  
8
CONSUL_EXPORTER_COMMIT=11bf27e69d
9

  
7 10
MY_PV="v${PV/_rc/-rc.}"
8 11

  
9 12
DESCRIPTION="Prometheus exporter for consul metrics"
10 13
HOMEPAGE="https://github.com/prometheus/consul_exporter"
11 14
SRC_URI="https://github.com/prometheus/consul_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
15
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
12 16

  
13 17
LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
14 18
SLOT="0"
15 19
KEYWORDS="~amd64"
16 20

  
17
BDEPEND="dev-util/promu"
18 21
COMMON_DEPEND="acct-group/consul_exporter
19 22
	acct-user/consul_exporter"
20 23
DEPEND="${COMMON_DEPEND}"
21 24
RDEPEND="${COMMON_DEPEND}"
25
BDEPEND="dev-util/promu"
22 26

  
23 27
RESTRICT+=" test"
24 28

  
......
35 39
}
36 40

  
37 41
src_install() {
38
	newbin ${P} ${PN}
42
	dobin ${PN}
39 43
	dodoc {README,CONTRIBUTING}.md
40
	keepdir /var/log/consul_exporter
41
	fowners ${PN}:${PN} /var/log/consul_exporter
42 44
	newinitd "${FILESDIR}"/${PN}.initd ${PN}
43 45
	newconfd "${FILESDIR}"/${PN}.confd ${PN}
46
	keepdir /var/log/consul_exporter
47
	fowners ${PN}:${PN} /var/log/consul_exporter
44 48
}
Thank you!