mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-metrics/uwsgi_exporter: drop 1.1.0, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
bb356b8d1f
commit
10aaf56517
@ -1,4 +1,2 @@
|
||||
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
|
||||
DIST uwsgi_exporter-1.3.0-vendor.tar.xz 1323680 BLAKE2B f3c65f60f759a1d068bfc352d611e4d3f3c4db7c09fa431e503f9da535e051bd4f813c0139e369068c26221a672cc6159674de25f7bb6cf9a5608d94b10b513b SHA512 ea70e70e323165022af4a6965cea8d0d843a103e0ef9dcb67e63c09c439ef87b1be6b79cae4c3b06304ddc85d1e12c7bcaaf81bf3481adb4900f8b22d16ba8bf
|
||||
DIST uwsgi_exporter-1.3.0.tar.gz 31841 BLAKE2B 9be016f7088060d169b0812987e2cf70b3fb60eea6f44b29d3af950770bc651e4662f5e4446e22162d1b4b30ee985ffc123ea374dcd758738f90dd0eb71dfb63 SHA512 f0dda6f61333fde601d056823f03e140e445377008e1475a0bc8a08fb5c0e4c25fe776ed2aa7b4084dee869aab232e4485b01c38bca43ebb38b2ba26e3f4914b
|
||||
|
||||
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
SRC_URI="https://github.com/timonwong/uwsgi_exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
|
||||
UWSGI_EXPORTER_COMMIT="f04f713"
|
||||
|
||||
DESCRIPTION="uWSGI metrics exporter for prometheus.io"
|
||||
HOMEPAGE="https://github.com/timonwong/uwsgi_exporter"
|
||||
|
||||
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 "${S}/.promu.yml" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir -p bin || die
|
||||
GO111MODULE=on promu build -v --prefix bin || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin bin/${P} uwsgi_exporter
|
||||
dodoc README.md
|
||||
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"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user