Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus-bin/
Date: Mon, 03 May 2021 21:06:54
Message-Id: 1620076007.2a51e2a5e87d598f58b062f720f12a73296db3f0.zlogene@gentoo
1 commit: 2a51e2a5e87d598f58b062f720f12a73296db3f0
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 21:06:14 2021 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 21:06:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a51e2a5
7
8 app-metrics/prometheus-bin: Drop old
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 app-metrics/prometheus-bin/Manifest | 1 -
14 .../prometheus-bin/prometheus-bin-2.25.2.ebuild | 51 ----------------------
15 2 files changed, 52 deletions(-)
16
17 diff --git a/app-metrics/prometheus-bin/Manifest b/app-metrics/prometheus-bin/Manifest
18 index f5fbd1c0b84..2df029e2861 100644
19 --- a/app-metrics/prometheus-bin/Manifest
20 +++ b/app-metrics/prometheus-bin/Manifest
21 @@ -1,3 +1,2 @@
22 DIST prometheus-2.25.0.linux-amd64.tar.gz 66280932 BLAKE2B 3528c9a2c3275d93152281c0083dc224e5a296636ec22628b6b43bc07f64a7c95cf96fb5f9c212c8101b441d9cba40c629d9fab9de3bcca2e18e2ade06ebb3bc SHA512 0dcbdc18fcc99a4c7cee3ce1435812b651b6cea373df4fbc7263c986c2c6c22de1a686ca44eb104ef602e2a1261957a4e0a64d3ba7b24ae4e9b587b852e5ab24
23 -DIST prometheus-2.25.2.linux-amd64.tar.gz 66277199 BLAKE2B d0b81f9a308edea004347793cb0e522fea0f2c8bb7077ec635ec4046f064cd8eb523d6079b70dd894648ad18205f4c7b2bd8ce8bc6697841c6c59323bd7221ba SHA512 a70beea8042b3199d65431f151086efac33ef0d016dce360be17197794e3c9e4d9277fadbecd0c00bb2814a7c5724cb597695e15d732ab9513dbdf9abc17f74a
24 DIST prometheus-2.26.0.linux-amd64.tar.gz 65155818 BLAKE2B 1b7b9fec806e9f567da5cd3024ccbf787f75e023318609beb770d7771cd2ecfde473b39961783138da4edb5f5dd235a73a22a7e31f0cda23f16a59049239a85a SHA512 820bebe268cd3c5d1c84ecee62db37d4aa394e61870f0e15b4f8820726e1e8d06d05db79d7827d5d3a9c5f205e1970bfc8f06b63184f2792297a665adcf76d5d
25
26 diff --git a/app-metrics/prometheus-bin/prometheus-bin-2.25.2.ebuild b/app-metrics/prometheus-bin/prometheus-bin-2.25.2.ebuild
27 deleted file mode 100644
28 index da63a8595d3..00000000000
29 --- a/app-metrics/prometheus-bin/prometheus-bin-2.25.2.ebuild
30 +++ /dev/null
31 @@ -1,51 +0,0 @@
32 -# Copyright 2020-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit systemd
38 -
39 -DESCRIPTION="prometheus monitoring system and time series database"
40 -HOMEPAGE="https://prometheus.io"
41 -MY_PN=${PN%%-bin}
42 -MY_P=${MY_PN}-${PV}
43 -SRC_URI="https://github.com/prometheus/prometheus/releases/download/v${PV}/${MY_P}.linux-amd64.tar.gz"
44 -
45 -LICENSE="Apache-2.0"
46 -SLOT="0"
47 -KEYWORDS="-* ~amd64"
48 -
49 -QA_PREBUILT=".*"
50 -RESTRICT="strip"
51 -
52 -DEPEND="acct-group/prometheus
53 - acct-user/prometheus
54 - !app-metrics/prometheus"
55 -RDEPEND="${DEPEND}"
56 -
57 -S="${WORKDIR}/${MY_P}.linux-amd64"
58 -
59 -src_install() {
60 - dobin prometheus promtool
61 - insinto /usr/share/prometheus
62 - doins -r console_libraries consoles
63 - insinto /etc/prometheus
64 - doins prometheus.yml
65 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
66 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
67 -
68 - systemd_dounit "${FILESDIR}"/prometheus.service
69 - newinitd "${FILESDIR}"/prometheus.initd prometheus
70 - newconfd "${FILESDIR}"/prometheus.confd prometheus
71 - keepdir /var/log/prometheus /var/lib/prometheus
72 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
73 -}
74 -
75 -pkg_postinst() {
76 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
77 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
78 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
79 - ewarn "This release requires a clean storage directory and is not compatible with"
80 - ewarn "files created by previous beta releases"
81 - fi
82 -}