app-metrics/uwsgi_exporter: drop 0.8.0-r1, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin 2025-01-17 20:12:07 +02:00
parent aeec037e45
commit 5367cc0c2e
No known key found for this signature in database
GPG Key ID: 02A0AF503D120504
2 changed files with 0 additions and 59 deletions

View File

@ -1,3 +1,2 @@
DIST uwsgi_exporter-0.8.0.tar.gz 3040547 BLAKE2B 5b6769487b3a08752cdff9dccc727096bc6b9d49e12e8aa35d04bbd0c3534503c19a4dda882c7efd7409549f3cae750021fa7ce87d12b798a2998efcdfc9f1cf SHA512 a5a1439f554749c7db4857651a11cbbf0ad0a0a8da0ffd421e374fe08194ba289a6bb04a95e4169ba6a75d0358c7a96e5b9f3cc5813cc39004f81dce42edb3ed
DIST uwsgi_exporter-1.1.0-deps.tar.xz 6393556 BLAKE2B ce75723b9de728560fc367c31b8f70498ffda083f1aa3ed138aaed37d540ed4b05681c022c63bd3f8aa6c1bf9d9e7fc7e6f947c556794b5d65724b1ff95ceb60 SHA512 e5140951a895981eb85be571035e017b3d3a344cb074a40b693f46e25d9355192debecb9710afb4952cbfe6beb62741ddca2c16ac5454df8643927400e3f2d6b
DIST uwsgi_exporter-1.1.0.tar.gz 39335 BLAKE2B af7fc7ba6d2479467e4b0b90c469fd3a3de1d967b1f4130ce54b5db5bec4dcf910687cf375dcc98a6b68463831d49117e23f589d03d37579b2d83b33a74b519f SHA512 62db351903f6876efea60cc25bea1560b5061ecdf6ca1f113bfa51a745d1524b397350cc2bd0e720aab9357f4f9f6dbca0285eb41ed9cdabebeb4f4176d9c652

View File

@ -1,58 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit golang-build golang-vcs-snapshot systemd
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
EGIT_COMMIT="v${PV/_rc/-rc.}"
EGO_PN="github.com/timonwong/uwsgi_exporter"
UWSGI_EXPORTER_COMMIT="ddbc18f"
DESCRIPTION="uWSGI metrics exporter for prometheus.io"
HOMEPAGE="https://github.com/timonwong/uwsgi_exporter"
SRC_URI="${ARCHIVE_URI}"
LICENSE="Apache-2.0 BSD ISC MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-group/uwsgi_exporter
acct-user/uwsgi_exporter
"
DEPEND="
${RDEPEND}
dev-util/promu
"
src_prepare() {
default
sed -e "s/{{.Revision}}/${UWSGI_EXPORTER_COMMIT}/" -i 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/uwsgi_exporter
dodoc README.md
popd || die
local dir
for dir in /var/log/${PN}; do
keepdir "${dir}"
fowners ${PN}:${PN} "${dir}"
done
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
}