app-metrics/postgres_exporter: Drop old
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 11:23:27 +0000 (13:23 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 16:18:31 +0000 (18:18 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-metrics/postgres_exporter/Manifest
app-metrics/postgres_exporter/postgres_exporter-0.4.6.ebuild [deleted file]

index 80a9cd97a0c929ea4ea27efbcb34a867a3f711ce..2406f7de513de700020862ec9d23b3ea4c93438d 100644 (file)
@@ -1,2 +1 @@
-DIST postgres_exporter-0.4.6.tar.gz 3698795 BLAKE2B 5d8a370d6f5ddbe0c8570ad14d8547a5d56dbbd9d4f2d5ef604550cd0e1e97baa5c7bbd0940704f3d8f7f25da0f26d54318b4e4732a82f68e9394c5c9b044a20 SHA512 16062a372ad8048ca0bdb41e302bde9d18dfcdc519fbf387cc7ea414667d4a8ad2984b524e7a2c86132f4b37a175c6dd9d4ce67be5cc3c9d91aa9e73cb8c4e3b
 DIST postgres_exporter-0.4.7.tar.gz 3699251 BLAKE2B b4232858464ae30f714dda58a414ec343aedc5972b44066aa45a85cf64d98ef40925ca77956c218a3962e22a35f3229795cc730fec9fc10565a43fc9e827200c SHA512 81afce765830a5c16597f0ac9a95d21466edb20e40cff8e26079663db75f0051a6e0eb4ff828eb825b51a6fc52b3b534e0f6ffbb2ecf2c94e2ec8656de4a2ff6
diff --git a/app-metrics/postgres_exporter/postgres_exporter-0.4.6.ebuild b/app-metrics/postgres_exporter/postgres_exporter-0.4.6.ebuild
deleted file mode 100644 (file)
index 8aa5a0f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/wrouesnel/postgres_exporter"
-ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="PostgreSQL stats exporter for Prometheus"
-HOMEPAGE="https://github.com/wrouesnel/postgres_exporter"
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-RESTRICT="test"
-
-pkg_setup() {
-       enewgroup ${PN}
-       enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_compile() {
-       pushd src/${EGO_PN} || die
-       VERSION_SHORT="${PV}" VERSION="${PV}" GOPATH="${S}" go run mage.go binary || die
-       popd || die
-}
-
-src_install() {
-       pushd src/${EGO_PN} || die
-       dobin ${PN}
-       dodoc README.md queries.yaml
-       popd || die
-       keepdir /var/log/${PN}
-       fowners ${PN}:${PN} /var/log/${PN}
-       newinitd "${FILESDIR}"/${PN}.initd ${PN}
-       newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}