summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-03-10 21:42:47 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-03-10 21:43:02 +0200
commitcaa877a9af92a895643fb4827f9c62b2b247a5b6 (patch)
treecf5a50b91b5f952de91010cf77d9f16388142c84 /app-metrics
parentdev-qt/qtimageformats: Really bump to QT5_KDEPATCHSET_REV=2 (diff)
downloadgentoo-caa877a9af92a895643fb4827f9c62b2b247a5b6.tar.gz
gentoo-caa877a9af92a895643fb4827f9c62b2b247a5b6.tar.bz2
gentoo-caa877a9af92a895643fb4827f9c62b2b247a5b6.zip
app-metrics/portage-exporter: add 0.0.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/portage-exporter/Manifest1
-rw-r--r--app-metrics/portage-exporter/portage-exporter-0.0.1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/app-metrics/portage-exporter/Manifest b/app-metrics/portage-exporter/Manifest
index f79a57b4631c..b7ad12a11f0b 100644
--- a/app-metrics/portage-exporter/Manifest
+++ b/app-metrics/portage-exporter/Manifest
@@ -1,2 +1,3 @@
+DIST portage-exporter-0.0.1.tar.gz 1797981 BLAKE2B dcea6218de202c72b894dc6d8b31311879ce5b2284a078e77148dc9b62320a0118ff22040dc89807f8f7526618afc982cd555925dea97dbb9a0dcd7a41d98930 SHA512 f61ae7be333e79a4ca3dd483628d588c07f2fd7d1b0c77069969431d05217c7654cbfc4676e1ffa60e0cdcae3e0e59fad238a02edbd7f32a61ad2f7e3a5c440b
DIST portage-exporter-0_p20230307.tar.gz 32044 BLAKE2B 23e590aba88bf071568e9643b22ec51d6fcaff11b5eb5ea1e66d39cf49468238cbb80a44a865ba7bbccb631540e33ab5a417201ec995227e84d122601c868fad SHA512 1e3bd18cf44ad849b0ee0a2dc737f6d334ce9dd29d03f53a05298df2013be8c77a7ed66c3171cc6c765ad21ab7705fd747856d95ef3259cc83fac85544e81781
DIST portage-exporter-ae39c6be10364896683ab1af0512ee8453bc153e-vendor.tar.xz 784800 BLAKE2B 600f207b15e54ab0f4c27691ce41efcdd3706bfc82c9170da3ebf2eb6283b5595bca08d7eebd3c7b5a6b2c7bcef704e70946e3fab63a537cf03ffa7dbe4a57a0 SHA512 e6e91296e8220d9fb34e0837714108d8806801d6799e49dc27b7dcaf8ddf39a92bff232ec3d616019ef5ae5c437bc81eee719ca658c299a35e8f1b165e38d3eb
diff --git a/app-metrics/portage-exporter/portage-exporter-0.0.1.ebuild b/app-metrics/portage-exporter/portage-exporter-0.0.1.ebuild
new file mode 100644
index 000000000000..5b09838cb150
--- /dev/null
+++ b/app-metrics/portage-exporter/portage-exporter-0.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Prometheus exporter for Gentoo Portage"
+HOMEPAGE="https://github.com/projg2/portage-exporter"
+SRC_URI="
+ https://github.com/projg2/${PN}/releases/download/v${PV}/${P}.tar.gz
+"
+
+LICENSE="GPL-3 Apache-2.0 BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+ ego build -o ${PN} ./cmd/portage-exporter/
+}
+
+src_install() {
+ dobin ${PN}
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}