Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/kapacitor/
Date: Mon, 26 Mar 2018 18:01:23
Message-Id: 1522087272.2a13d51aa30ee1554239cbc8655f5aab12e08036.williamh@gentoo
1 commit: 2a13d51aa30ee1554239cbc8655f5aab12e08036
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 26 18:00:17 2018 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 18:01:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a13d51a
7
8 net-analyzer/kapacitor: remove 1.4.1
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-analyzer/kapacitor/kapacitor-1.4.1.ebuild | 48 ---------------------------
13 1 file changed, 48 deletions(-)
14
15 diff --git a/net-analyzer/kapacitor/kapacitor-1.4.1.ebuild b/net-analyzer/kapacitor/kapacitor-1.4.1.ebuild
16 deleted file mode 100644
17 index dd499480fbd..00000000000
18 --- a/net-analyzer/kapacitor/kapacitor-1.4.1.ebuild
19 +++ /dev/null
20 @@ -1,48 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -EGO_PN=github.com/influxdata/kapacitor
26 -
27 -inherit golang-build golang-vcs-snapshot systemd user
28 -
29 -DESCRIPTION="Monitoring, processing and alerting on time series data"
30 -HOMEPAGE="https://www.influxdata.com"
31 -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
32 -
33 -LICENSE="MIT"
34 -SLOT="0"
35 -KEYWORDS="~amd64"
36 -IUSE=""
37 -
38 -pkg_setup() {
39 - enewgroup kapacitor
40 - enewuser kapacitor -1 -1 /var/lib/kapacitor kapacitor
41 -}
42 -
43 -src_compile() {
44 - pushd "src/${EGO_PN}" > /dev/null || die
45 - set -- env GOPATH="${S}" go build -v -work -x ./...
46 - echo "$@"
47 - "$@" || die "compile failed"
48 - popd > /dev/null
49 -}
50 -
51 -src_install() {
52 - pushd "src/${EGO_PN}" > /dev/null || die
53 - set -- env GOPATH="${S}" go install -v -work -x ./...
54 - echo "$@"
55 - "$@" || die
56 - dobin "${S}"/bin/kapacitor{,d}
57 - insinto /etc/kapacitor
58 -doins etc/kapacitor/kapacitor.conf
59 -keepdir /etc/kapacitor/load
60 - insinto /etc/logrotate.d
61 - doins etc/logrotate.d/kapacitor
62 - systemd_dounit scripts/kapacitor.service
63 - keepdir /var/log/kapacitor
64 - fowners kapacitor:kapacitor /var/log/kapacitor
65 - newconfd "${FILESDIR}"/kapacitor.confd kapacitor
66 - newinitd "${FILESDIR}"/kapacitor.rc kapacitor
67 - popd > /dev/null || die
68 -}