Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/prometheus/
Date: Wed, 14 Aug 2019 13:43:36
Message-Id: 1565790195.a7e45fde8be884b5aefd7d23a650e21b6b0c9c86.mrueg@gentoo
1 commit: a7e45fde8be884b5aefd7d23a650e21b6b0c9c86
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 14 13:43:15 2019 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 14 13:43:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e45fde
7
8 app-metrics/prometheus: Remove old
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.16
11 Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
12
13 app-metrics/prometheus/Manifest | 3 --
14 app-metrics/prometheus/prometheus-2.10.0.ebuild | 68 -------------------------
15 app-metrics/prometheus/prometheus-2.11.0.ebuild | 68 -------------------------
16 app-metrics/prometheus/prometheus-2.11.1.ebuild | 68 -------------------------
17 4 files changed, 207 deletions(-)
18
19 diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest
20 index 1cbb8322785..72ff75916a7 100644
21 --- a/app-metrics/prometheus/Manifest
22 +++ b/app-metrics/prometheus/Manifest
23 @@ -1,5 +1,2 @@
24 -DIST prometheus-2.10.0.tar.gz 11752395 BLAKE2B add59b45e3823d6ab8dcef8f00ba3dda4bb01f8edf891ee142ab790b7145fb2190ee98386dce6aae6afc3ea7bfba3c69749944828c62ed40169e56cda3f53c1c SHA512 eb67fc8a1ecd95689de0aae7e822c40395f82ec4b7f711457d7d504ffaf9a240ad9015a0c568dc93d350cea12cc3db2492bb5fe6300f6193be410b0e00d4463a
25 -DIST prometheus-2.11.0.tar.gz 12133603 BLAKE2B 0036777f95b3e0f6d187129b1ab06c0ead70cd6763a3ace96bd61830e92282072978f04b264bcecf45dc3be78cfffa843a7f3caf6fb5eaecd49e41aecd376cfb SHA512 c6d292f658c99fa6a1e1a9baf0fbcb32e1da7c61bdae1dac1e77385813248c2573c1ac9533dd7b01608b6093d4753454c0f9a2167434fb26c8436ddfc7d97cd2
26 -DIST prometheus-2.11.1.tar.gz 12133604 BLAKE2B 78370f85f9997f776b8acdbdad9db45cc34c8a18a8d467a1a839daca41cbf8ba1e50d5b359282f7062a4d9ba90d7989e13163018ac5043556be5a06dae28dbf9 SHA512 3d238466aad16faecd654f87cab45fe1097119acb241d5f8859d4d8bbeeb007e2c074eb9dc82569e3e1a9ae22a4b9cc0f40160c231d230f2f3f52b4ebf77035c
27 DIST prometheus-2.11.2.tar.gz 12132678 BLAKE2B 0b6b9a93b7329c124f901d0acc6130132aa187142f0416e087c12f20b0cd35f8564a27d0df8c0bc811284b9811f446344adf700d6611afac3c5c1131c208b341 SHA512 cecdaf4522885bdf62492667d92475a97c54b04c1e93f48b6078def319fe33f5e28aafbab61e3609413615d6f853e817564fc372e5d1df0d867fe9fa333f6de9
28 DIST prometheus-2.9.2.tar.gz 11477683 BLAKE2B f0c18c57ff0fe292710174a91080a84ecf0375b4335aacaf4a8e32c842a9346b9fd48888ef8a19a597511c57eb8af7f90cca57d0cc51b9de4558c3f22953d165 SHA512 4cce1827580e49b1659ad492de946a81694c1dab90e079f3f0e56c1991254cf4ecac7f052aac75bf58a0b95d3cf4daa8c15b3e8305a3c089570da40c44a8ccc0
29
30 diff --git a/app-metrics/prometheus/prometheus-2.10.0.ebuild b/app-metrics/prometheus/prometheus-2.10.0.ebuild
31 deleted file mode 100644
32 index 45f198a6df6..00000000000
33 --- a/app-metrics/prometheus/prometheus-2.10.0.ebuild
34 +++ /dev/null
35 @@ -1,68 +0,0 @@
36 -# Copyright 1999-2019 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -inherit user golang-build golang-vcs-snapshot
41 -
42 -EGO_PN="github.com/prometheus/prometheus"
43 -MY_PV=v${PV/_rc/-rc.}
44 -PROMETHEUS_COMMIT="d20e84d"
45 -KEYWORDS="~amd64"
46 -
47 -DESCRIPTION="Prometheus monitoring system and time series database"
48 -HOMEPAGE="https://github.com/prometheus/prometheus"
49 -SRC_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
50 -LICENSE="Apache-2.0"
51 -SLOT="0"
52 -IUSE=""
53 -
54 -DEPEND="
55 - >=dev-lang/go-1.12
56 - >=dev-util/promu-0.3.0"
57 -
58 -PROMETHEUS_HOME="/var/lib/prometheus"
59 -
60 -RESTRICT="test"
61 -
62 -pkg_setup() {
63 - enewgroup prometheus
64 - enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
65 -}
66 -
67 -src_prepare() {
68 - default
69 - sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die
70 -}
71 -
72 -src_compile() {
73 - pushd src/${EGO_PN} || die
74 - GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v || die
75 - popd || die
76 -}
77 -
78 -src_install() {
79 - pushd src/${EGO_PN} || die
80 - dobin promtool prometheus
81 - dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
82 - insinto /etc/prometheus
83 - doins documentation/examples/prometheus.yml
84 - insinto /usr/share/prometheus
85 - doins -r console_libraries consoles
86 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
87 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
88 - popd || die
89 -
90 - newinitd "${FILESDIR}"/prometheus.initd prometheus
91 - newconfd "${FILESDIR}"/prometheus.confd prometheus
92 - keepdir /var/log/prometheus /var/lib/prometheus
93 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
94 -}
95 -
96 -pkg_postinst() {
97 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
98 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
99 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
100 - ewarn "This release requires a clean storage directory and is not compatible with"
101 - ewarn "files created by previous beta releases"
102 - fi
103 -}
104
105 diff --git a/app-metrics/prometheus/prometheus-2.11.0.ebuild b/app-metrics/prometheus/prometheus-2.11.0.ebuild
106 deleted file mode 100644
107 index ce78bb58433..00000000000
108 --- a/app-metrics/prometheus/prometheus-2.11.0.ebuild
109 +++ /dev/null
110 @@ -1,68 +0,0 @@
111 -# Copyright 1999-2019 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=6
115 -inherit user golang-build golang-vcs-snapshot
116 -
117 -EGO_PN="github.com/prometheus/prometheus"
118 -MY_PV=v${PV/_rc/-rc.}
119 -PROMETHEUS_COMMIT="4ef6600"
120 -KEYWORDS="~amd64"
121 -
122 -DESCRIPTION="Prometheus monitoring system and time series database"
123 -HOMEPAGE="https://github.com/prometheus/prometheus"
124 -SRC_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
125 -LICENSE="Apache-2.0"
126 -SLOT="0"
127 -IUSE=""
128 -
129 -DEPEND="
130 - >=dev-lang/go-1.12
131 - >=dev-util/promu-0.3.0"
132 -
133 -PROMETHEUS_HOME="/var/lib/prometheus"
134 -
135 -RESTRICT="test"
136 -
137 -pkg_setup() {
138 - enewgroup prometheus
139 - enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
140 -}
141 -
142 -src_prepare() {
143 - default
144 - sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die
145 -}
146 -
147 -src_compile() {
148 - pushd src/${EGO_PN} || die
149 - GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v || die
150 - popd || die
151 -}
152 -
153 -src_install() {
154 - pushd src/${EGO_PN} || die
155 - dobin promtool prometheus
156 - dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
157 - insinto /etc/prometheus
158 - doins documentation/examples/prometheus.yml
159 - insinto /usr/share/prometheus
160 - doins -r console_libraries consoles
161 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
162 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
163 - popd || die
164 -
165 - newinitd "${FILESDIR}"/prometheus.initd prometheus
166 - newconfd "${FILESDIR}"/prometheus.confd prometheus
167 - keepdir /var/log/prometheus /var/lib/prometheus
168 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
169 -}
170 -
171 -pkg_postinst() {
172 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
173 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
174 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
175 - ewarn "This release requires a clean storage directory and is not compatible with"
176 - ewarn "files created by previous beta releases"
177 - fi
178 -}
179
180 diff --git a/app-metrics/prometheus/prometheus-2.11.1.ebuild b/app-metrics/prometheus/prometheus-2.11.1.ebuild
181 deleted file mode 100644
182 index 7a86debe75b..00000000000
183 --- a/app-metrics/prometheus/prometheus-2.11.1.ebuild
184 +++ /dev/null
185 @@ -1,68 +0,0 @@
186 -# Copyright 1999-2019 Gentoo Authors
187 -# Distributed under the terms of the GNU General Public License v2
188 -
189 -EAPI=6
190 -inherit user golang-build golang-vcs-snapshot
191 -
192 -EGO_PN="github.com/prometheus/prometheus"
193 -MY_PV=v${PV/_rc/-rc.}
194 -PROMETHEUS_COMMIT="e5b2249"
195 -KEYWORDS="~amd64"
196 -
197 -DESCRIPTION="Prometheus monitoring system and time series database"
198 -HOMEPAGE="https://github.com/prometheus/prometheus"
199 -SRC_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
200 -LICENSE="Apache-2.0"
201 -SLOT="0"
202 -IUSE=""
203 -
204 -DEPEND="
205 - >=dev-lang/go-1.12
206 - >=dev-util/promu-0.3.0"
207 -
208 -PROMETHEUS_HOME="/var/lib/prometheus"
209 -
210 -RESTRICT="test"
211 -
212 -pkg_setup() {
213 - enewgroup prometheus
214 - enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
215 -}
216 -
217 -src_prepare() {
218 - default
219 - sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die
220 -}
221 -
222 -src_compile() {
223 - pushd src/${EGO_PN} || die
224 - GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build -v || die
225 - popd || die
226 -}
227 -
228 -src_install() {
229 - pushd src/${EGO_PN} || die
230 - dobin promtool prometheus
231 - dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
232 - insinto /etc/prometheus
233 - doins documentation/examples/prometheus.yml
234 - insinto /usr/share/prometheus
235 - doins -r console_libraries consoles
236 - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
237 - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
238 - popd || die
239 -
240 - newinitd "${FILESDIR}"/prometheus.initd prometheus
241 - newconfd "${FILESDIR}"/prometheus.confd prometheus
242 - keepdir /var/log/prometheus /var/lib/prometheus
243 - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
244 -}
245 -
246 -pkg_postinst() {
247 - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then
248 - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format"
249 - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0"
250 - ewarn "This release requires a clean storage directory and is not compatible with"
251 - ewarn "files created by previous beta releases"
252 - fi
253 -}