diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2021-05-14 11:19:34 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-05-14 11:38:46 +0300 |
commit | df2893e3c110f23292282552e2a47141424ea05c (patch) | |
tree | 9814ccf752208b51901fc160d85533b6c1dd13a0 /app-metrics/prometheus | |
parent | app-metrics/prometheus: mark stable (diff) | |
download | gentoo-df2893e3c110f23292282552e2a47141424ea05c.tar.gz gentoo-df2893e3c110f23292282552e2a47141424ea05c.tar.bz2 gentoo-df2893e3c110f23292282552e2a47141424ea05c.zip |
app-metrics/prometheus: Drop old
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-metrics/prometheus')
-rw-r--r-- | app-metrics/prometheus/Manifest | 1 | ||||
-rw-r--r-- | app-metrics/prometheus/prometheus-2.13.1.ebuild | 69 |
2 files changed, 0 insertions, 70 deletions
diff --git a/app-metrics/prometheus/Manifest b/app-metrics/prometheus/Manifest index 26a7bfc5d3cc..abcb5808096e 100644 --- a/app-metrics/prometheus/Manifest +++ b/app-metrics/prometheus/Manifest @@ -1315,7 +1315,6 @@ DIST k8s.io%2Fkube-openapi%2F@v%2Fv0.0.0-20201113171705-d219536bb9fd.mod 1277 BL DIST k8s.io%2Fkube-openapi%2F@v%2Fv0.0.0-20201113171705-d219536bb9fd.zip 1002101 BLAKE2B 3ffce7dc81c73dc390b68e8ee35a68b125880bfe214e0ac3acf6ec9dffd180b430951f4972c53a5bdbcb0012fa9a165870ba4316252ac90195e9fe4e358df1c5 SHA512 5dc73a20de4b31f0f93540f58d0c7394de26c302298be6268529ea2928f18d3f97bd33e4ee02cb4a8c14c31e798f694414b8ecbade75e1486206d28c1b8e265c DIST k8s.io%2Futils%2F@v%2Fv0.0.0-20201110183641-67b214c5f920.mod 167 BLAKE2B 2a61747d367153284e7e614a82f98c8913693f3b51174c24b7f25d8e9d236418c4da9e6b33c7cdb7b4350314373037e1e7121ad7c0ca5fbc9a3b4b711a078a98 SHA512 1117d2493d40a111a749b0033c92876773242b86da0b437ba063e5da21289102d784479b0c757ad8ce50de4b1d8a2f6956afe3b2656977bd76bfab9f97c1d8a9 DIST k8s.io%2Futils%2F@v%2Fv0.0.0-20201110183641-67b214c5f920.zip 166996 BLAKE2B 210f1ba6f4b371b8216157d219b23dfada39ef76a86152d10dd34673bcd486dbd93802b1d610e31c4ca794e8d2eb1744d77e84adde09277c11929937d6631410 SHA512 03eb8ba4916ec58144deb1a10f47019e127a688c7e3f87b3ba6fee85a2c41b92b6d7a9293c6bf8921b33f83f8e46be019fd4751fe6c1c98cb83a6080065d2b51 -DIST prometheus-2.13.1.tar.gz 15249891 BLAKE2B 35cd3c81bdb4f3a783c2ab1f1318946db5b25c94496fe351739a59259a726bf54d418d6b29efeff44c8007353ed63368819ce89ffe6a4f380b7ae216da3c4d63 SHA512 aed3b44db97cd2a67add64d13e950246b25c2b459f6b1081a6c548862c4e85c055254a0dfb94b08ac85f83dbbe30afceb1c54a8ad6f7ff1367aeb6af6d270e8a DIST prometheus-2.26.0-asset.tar.xz 4629492 BLAKE2B 61e175346a81a0aa910138997b9d8e80bd4a0c4a7beb9c6b10727e05c0757e227bf4b427f8a2ed8ba84b2615c178b8aea974e2f0cbd3b88e7bed0fa30da52f0a SHA512 16c3c2307e60d2cfb53548967efb5dee0e7fce2f6a54d5a24c5e061262d86a2e2584ef80324fc9c600e5cd2307ae805bfb6859b4e2ef387eb68c50623d4ab797 DIST prometheus-2.26.0.tar.gz 5618384 BLAKE2B c7fc5ac4d1032ec1b77555165ae050d1164057e6cdcd9af6e6f8aacf871f70049c27e2fadcc105667893e972f17011f13bba090a24be4f6f87916732f7231074 SHA512 b43496fe83a356f7a91f08ed8b06e1214246b2fcfbf30bca39d0be44e2a92daff841e78d3514b8858c4e127b5a5bc0b602212e7f31176362af50cd9685c26bc7 DIST rsc.io%2Fbinaryregexp%2F@v%2Fv0.2.0.mod 36 BLAKE2B 61110bed2b9e99e0250cf6e8b842257202c89b3462edf9368b73cab29f9dbd4dcc66c3e290a1d6329b7d62321eecc52082a8c4c0797eac743a29a8a00910a93f SHA512 db50ff677b0bdccbc1a1ad3df7c5cc76f2fcccf3ab99d08d1c2868440eb9b893fe89452f4286f7d42f2f16abf0f4acda67fe86e174dcfa730a743aafcc166774 diff --git a/app-metrics/prometheus/prometheus-2.13.1.ebuild b/app-metrics/prometheus/prometheus-2.13.1.ebuild deleted file mode 100644 index 22778bc2ce90..000000000000 --- a/app-metrics/prometheus/prometheus-2.13.1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/prometheus" -MY_PV=v${PV/_rc/-rc.} -PROMETHEUS_COMMIT="6f92ce5" -KEYWORDS="amd64" - -DESCRIPTION="Prometheus monitoring system and time series database" -HOMEPAGE="https://github.com/prometheus/prometheus" -SRC_URI="https://${EGO_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" -SLOT="0" -IUSE="" - -DEPEND=" - !app-metrics/prometheus-bin - >=dev-lang/go-1.12 - >=dev-util/promu-0.3.0" - -PROMETHEUS_HOME="/var/lib/prometheus" - -RESTRICT="test" - -pkg_setup() { - enewgroup prometheus - enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" promu build --prefix bin -v || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin bin/* - dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md} - insinto /etc/prometheus - doins documentation/examples/prometheus.yml - insinto /usr/share/prometheus - doins -r console_libraries consoles - dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries - dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles - popd || die - - newinitd "${FILESDIR}"/prometheus.initd prometheus - newconfd "${FILESDIR}"/prometheus.confd prometheus - keepdir /var/log/prometheus /var/lib/prometheus - fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus -} - -pkg_postinst() { - if has_version '<net-analyzer/prometheus-2.0.0_rc0'; then - ewarn "Old prometheus 1.x TSDB won't be converted to the new prometheus 2.0 format" - ewarn "Be aware that the old data currently cannot be accessed with prometheus 2.0" - ewarn "This release requires a clean storage directory and is not compatible with" - ewarn "files created by previous beta releases" - fi -} |