diff options
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/portage-exporter/Manifest | 3 | ||||
-rw-r--r-- | app-metrics/portage-exporter/portage-exporter-0.0.1.ebuild | 27 | ||||
-rw-r--r-- | app-metrics/portage-exporter/portage-exporter-0_p20230307.ebuild | 52 |
3 files changed, 0 insertions, 82 deletions
diff --git a/app-metrics/portage-exporter/Manifest b/app-metrics/portage-exporter/Manifest index 450f3f704399..187c1ee1fd0c 100644 --- a/app-metrics/portage-exporter/Manifest +++ b/app-metrics/portage-exporter/Manifest @@ -1,4 +1 @@ -DIST portage-exporter-0.0.1.tar.gz 1797981 BLAKE2B dcea6218de202c72b894dc6d8b31311879ce5b2284a078e77148dc9b62320a0118ff22040dc89807f8f7526618afc982cd555925dea97dbb9a0dcd7a41d98930 SHA512 f61ae7be333e79a4ca3dd483628d588c07f2fd7d1b0c77069969431d05217c7654cbfc4676e1ffa60e0cdcae3e0e59fad238a02edbd7f32a61ad2f7e3a5c440b DIST portage-exporter-0.1.0.tar.gz 14931 BLAKE2B bfafe9ac71b3ca756ac621d424cf80f988c3564c3a7d28b1d87781674cca00b7e3ed0c045d3d82bf19e6ce2021135dd85001aef3fe33360760da00dc17573666 SHA512 16efcb1ae6417f0db48247468f369db76bafeace136e296724fbb517d38b0ec5cbaf7b1949b7c5fb87337eeb374535f53a4a432f8aa5b10a3bb5b418fead2a94 -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 deleted file mode 100644 index 5b09838cb150..000000000000 --- a/app-metrics/portage-exporter/portage-exporter-0.0.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# 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} -} diff --git a/app-metrics/portage-exporter/portage-exporter-0_p20230307.ebuild b/app-metrics/portage-exporter/portage-exporter-0_p20230307.ebuild deleted file mode 100644 index 539b7fd8c786..000000000000 --- a/app-metrics/portage-exporter/portage-exporter-0_p20230307.ebuild +++ /dev/null @@ -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 -# 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=ae39c6be10364896683ab1af0512ee8453bc153e -HOMEPAGE="https://github.com/projg2/portage-exporter" -if [[ -n "${MY_PV_HASH}" ]]; then - MY_PV=${MY_PV_HASH} - EXPORTER_COMMIT=${MY_PV_HASH:0:8} - SRC_URI_UPSTREAM="${HOMEPAGE}/archive/${MY_PV}.tar.gz" -else - MY_PV=${PV} - 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" -#SRC_URI_VENDOR="https://dev.gentoo.org/~robbat2/distfiles/${MY_P}-go-mod.tar.xz" - -DESCRIPTION="Prometheus exporter for Gentoo Portage" -SRC_URI=" - ${SRC_URI_UPSTREAM} -> ${P}.tar.gz - ${SRC_URI_VENDOR} - " - -LICENSE="Apache-2.0 BSD MIT GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -BDEPEND="" -DEPEND="" -RDEPEND="" -S="${WORKDIR}/${PN}-${MY_PV}" - -PATCHES=( ) - -src_compile() { - #cd ./cmd/portage-exporter/ - #ego build - ego build -o "${PN}" ./cmd/portage-exporter/ -} - -src_install() { - dobin ${PN} - - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} |