commit:     0b53af8a912fb794fa7f4234f259ee6cdd9c90f6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 12 18:21:52 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 12 18:23:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b53af8a

app-metrics/prometheus-lvm-exporter: drop 0.3.2, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-metrics/prometheus-lvm-exporter/Manifest       |  2 -
 .../prometheus-lvm-exporter-0.3.2.ebuild           | 64 ----------------------
 2 files changed, 66 deletions(-)

diff --git a/app-metrics/prometheus-lvm-exporter/Manifest 
b/app-metrics/prometheus-lvm-exporter/Manifest
index b944cddb2233..678e256a53a3 100644
--- a/app-metrics/prometheus-lvm-exporter/Manifest
+++ b/app-metrics/prometheus-lvm-exporter/Manifest
@@ -1,4 +1,2 @@
-DIST prometheus-lvm-exporter-0.3.2-vendor.tar.xz 1390560 BLAKE2B 
ab6fe8febeb972bf2a65dd05c6060bb584638dc4250f221353b7fcc3714cd5f56b8ef69c36fae67103bf57d66ca8000c70212fa3f82ed54ad7bcf0eaae63c822
 SHA512 
e320cdbe27841f69fad201e52a6b5a9acdd919b57c7e067506e6829e3cf11936a0ab21e817dedc6fa0c277ddae891412a10565d6dac8f859669e1a37cc760e86
-DIST prometheus-lvm-exporter-0.3.2.tar.gz 60790 BLAKE2B 
f6b79627e9114140cab72d34744e5667e1174dd2bc720866d398d48be03067a29e03305e8a22ef4d706b2261083ec6f108e6c8578b9e717bf7915f2412b3da41
 SHA512 
75f3cc65fc9196faff0796e9df85ea8f7e5d15a97e7e46d635802049ad11e499bc5f0fd0b6833d1028dc23435fb8d0c2523e7333fb76e291f3ff16e297c37973
 DIST prometheus-lvm-exporter-0.3.3-deps.tar.xz 8813080 BLAKE2B 
3fad55a4a57bd34ca29b27d2a3812f5e3f1bb4b2315bd9a10d4cb264cbacb13e3aa0385da117bc193cea12c9ea1245aa80e74a49339d25c7ed277cd681ff38ad
 SHA512 
df93b13bc389d87d9d33bb637ca13af13cff02c411e4ba16159dd9be560e15b1f107c593a95ecb72f0d92ce5124439c42673562e5da5016b726512e5cd32c7f4
 DIST prometheus-lvm-exporter-0.3.3.tar.gz 47239 BLAKE2B 
5e91e9a06090843f1637624bcde9dcf5af771fb03467d3c09affed20ccc7f8f565bcbd4b7cf97df3be5d06dbfaaeacf76af43b635b5e887cfaa4cfe7a601fc78
 SHA512 
84315d248310c4cd2e2a51e57026561beb813d4cdc621f545b8b285804ecc6faba28644e19fb2435fefe77552385f04fc1e604d543675ccc002f1984d92c8c21

diff --git 
a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild 
b/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
deleted file mode 100644
index 0edb7138c79d..000000000000
--- a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-# uncomment the first setting of MY_PV for a normal release
-# MY_PV="v${PV/_rc/-rc.}"
-# set MY_PV to the full commit hash for a snapshot release
-MY_PV_HASH=
-HOMEPAGE="https://github.com/hansmi/prometheus-lvm-exporter";
-if [[ -n "${MY_PV_HASH}" ]]; then
-       MY_PV=${MY_PV_HASH}
-       MYSQLD_EXPORTER_COMMIT=${MY_PV_HASH:0:8}
-       SRC_URI_UPSTREAM="${HOMEPAGE}/archive/${MY_PV}.tar.gz"
-else
-       MY_PV=${PV}
-       MYSQLD_EXPORTER_COMMIT=
-       SRC_URI_UPSTREAM="${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz"
-fi
-MY_P=${PN}-${MY_PV}
-SRC_URI_VENDOR="https://dev.gentoo.org/~robbat2/distfiles/${MY_P}-vendor.tar.xz";
-
-DESCRIPTION="Prometheus exporter for LVM metrics"
-SRC_URI="
-       ${SRC_URI_UPSTREAM} -> ${P}.tar.gz
-       ${SRC_URI_VENDOR}
-       "
-
-LICENSE="Apache-2.0 BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-BDEPEND=""
-DEPEND=""
-# lvm is explicitly not included here; this could be installed before it 
safely.
-RDEPEND=""
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-PATCHES=( )
-
-src_prepare() {
-       default
-       sed -i -e '/kingpin.Flag.*\<command\>.*/s,/usr/sbin/lvm,/sbin/lvm,g' 
"${S}"/main.go || die
-}
-
-src_compile() {
-       default
-       go build .
-}
-
-src_install() {
-       default
-       dobin ${PN}
-       dodoc README.md
-
-       # TODO: more secure config would be a dedicated user AND a sudo 
command, so
-       # the daemon can run 'sudo lvm ...'.
-       newinitd "${FILESDIR}"/${PN}.initd ${PN}
-       newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}
-
-src_test() {
-       go test .
-}

Reply via email to