summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahil Bhimjiani <me@rahil.website>2023-12-02 01:53:44 +0530
committerYixun Lan <dlan@gentoo.org>2023-12-15 22:54:27 +0000
commit012f67e2ef5c9650a12e8cddba4248131104a711 (patch)
treeff4f1c3e817074386f125c825661b3acea554c04 /app-metrics/prometheus-podman-exporter
parentapp-containers/podman-tui: add 0.14.0 (diff)
downloadgentoo-012f67e2ef5c9650a12e8cddba4248131104a711.tar.gz
gentoo-012f67e2ef5c9650a12e8cddba4248131104a711.tar.bz2
gentoo-012f67e2ef5c9650a12e8cddba4248131104a711.zip
app-metrics/prometheus-podman-exporter: add 1.6.0
zero changes Closes: https://github.com/gentoo/gentoo/pull/34086 Signed-off-by: Rahil Bhimjiani <me@rahil.website> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-metrics/prometheus-podman-exporter')
-rw-r--r--app-metrics/prometheus-podman-exporter/Manifest1
-rw-r--r--app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/app-metrics/prometheus-podman-exporter/Manifest b/app-metrics/prometheus-podman-exporter/Manifest
index f3d6e9b4f861..28b2aabab1c8 100644
--- a/app-metrics/prometheus-podman-exporter/Manifest
+++ b/app-metrics/prometheus-podman-exporter/Manifest
@@ -1,2 +1,3 @@
DIST prometheus-podman-exporter-1.4.0.tar.gz 11934764 BLAKE2B 9f0c7431a15ca0abbfbc54affc7026180c156a655379e18840e8923cced2b80a86644e6edd139f052d9a777d1465a2b7bc4432fc2ebb2e3f47bc3b4880800745 SHA512 ba0c79741add66cb7e943dd64c0662fabb95be10864efa22cbb580b4e0ff01f5896e269b90b6b8b4a59878e77736344390258a1bf8ecbe58fd5870fd428ee388
DIST prometheus-podman-exporter-1.5.0.tar.gz 12032097 BLAKE2B 15e209330342432a1f71e4686a705b6c6dc41d14b9022828cf10cb0538dcbf6b26c47f243ad96aef17eb71470d5af15bd090afc57960ee6d7b8828b2cff32c46 SHA512 d5eca9d0c87cbddfef6a58cdfc5213c65846219ff8a60e9efa038a8e4ca37f36bb6dc0687a78defb80a4901eeb617e8aa689b94ef0a48625548e74816fafbfec
+DIST prometheus-podman-exporter-1.6.0.tar.gz 12234381 BLAKE2B 18960a73962ac30c477cabdcc784268088ba2bdf6a0efa6a777f164333b3964b2a881cec8a7f48d6aa5969306f92ed33d2722bfe740e6401dd704dbeb0963e5f SHA512 ef0b565bab8d695f05cadd3689f40161d5a0943a9d54e42611db0ea43dc98aca42d9ce8b33d080c60ab5456df8dc50f4283001562c4edec2e64fe037dd7d6bf1
diff --git a/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild
new file mode 100644
index 000000000000..029b77899c4a
--- /dev/null
+++ b/app-metrics/prometheus-podman-exporter/prometheus-podman-exporter-1.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Exporter for podman giving containers, pods, images, volumes & networks metrics"
+HOMEPAGE="https://github.com/containers/prometheus-podman-exporter"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/containers/prometheus-podman-exporter.git"
+else
+ SRC_URI="https://github.com/containers/prometheus-podman-exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+# Main package
+LICENSE="Apache-2.0"
+# Dependencies
+LICENSE+=" BSD-2 BSD ISC MIT MPL-2.0"
+
+SLOT="0"
+IUSE="btrfs"
+
+# there are no test files so prevent tests
+RESTRICT="test"
+RDEPEND="
+ app-containers/podman[btrfs?]
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ export BUILDFLAGS=" -tags exclude_graphdriver_devicemapper"
+ use !btrfs && BUILDFLAGS+=",exclude_graphdriver_btrfs,btrfs_noversion"
+ default
+}
+
+src_install() {
+ emake DESTDIR="${ED}/usr/bin" install
+ systemd_dounit "contrib/systemd/prometheus-podman-exporter.service"
+ systemd_douserunit "contrib/systemd/prometheus-podman-exporter.service"
+ einstalldocs
+}