Diff mongodb_exporter-0.39.0 with a mongodb_exporter-0.43.1

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

  
4 4
EAPI=8
5
inherit go-module
5

  
6
inherit go-module systemd
6 7

  
7 8
# update these on every bump
8
BRANCH='tags/v0.39.0^0'
9
COMMIT=430098a28613273e386563a84c57b9e84dc1a298
9
BRANCH='tags/v0.43.1^0'
10
COMMIT=2b2cccca21104c2a00cb53bd0d785b3d656fe803
10 11

  
11 12
DESCRIPTION="Prometheus exporter for MongoDB"
12 13
HOMEPAGE="https://github.com/percona/mongodb_exporter"
13 14
SRC_URI="https://github.com/percona/mongodb_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
15
SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/app-metrics/${PN}/${P}-deps.tar.xz"
15 16

  
16 17
LICENSE="Apache-2.0 AGPL-3 BSD MIT"
17 18
SLOT="0"
18 19
KEYWORDS="~amd64"
19 20

  
20
COMMON_DEPEND="acct-group/mongodb_exporter
21
	acct-user/mongodb_exporter"
22
	DEPEND="${COMMON_DEPEND}"
23
	RDEPEND="${COMMON_DEPEND}"
21
# tests require docker compose
22
RESTRICT="test"
24 23

  
25
	# tests require docker compose
26
	RESTRICT="test"
24
DEPEND="
25
	acct-group/mongodb_exporter
26
	acct-user/mongodb_exporter
27
"
28
RDEPEND="${DEPEND}"
27 29

  
28 30
src_compile() {
29 31
	emake \
......
36 38
src_install() {
37 39
	dobin ${PN}
38 40
	dodoc CHANGELOG {CONTRIBUTING,README,REFERENCE}.md
41

  
39 42
	newinitd "${FILESDIR}"/${PN}.initd ${PN}
40 43
	newconfd "${FILESDIR}"/${PN}.confd ${PN}
44
	systemd_dounit .scripts/systemd/${PN}.service
45

  
41 46
	keepdir /var/log/mongodb_exporter
42 47
	fowners ${PN}:${PN} /var/log/mongodb_exporter
43 48
}
Thank you!