Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/consul-template/
Date: Tue, 17 Sep 2019 21:40:47
Message-Id: 1568755390.278868a283319a2a4f0a1de47e879c8daf3a18ab.zmedico@gentoo
1 commit: 278868a283319a2a4f0a1de47e879c8daf3a18ab
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 17 21:23:10 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 17 21:23:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=278868a2
7
8 app-admin/consul-template: Remove old version 0.19.
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-admin/consul-template/Manifest | 1 -
14 .../consul-template/consul-template-0.19.5.ebuild | 66 ----------------------
15 2 files changed, 67 deletions(-)
16
17 diff --git a/app-admin/consul-template/Manifest b/app-admin/consul-template/Manifest
18 index 681278721ca..25db300e755 100644
19 --- a/app-admin/consul-template/Manifest
20 +++ b/app-admin/consul-template/Manifest
21 @@ -1,2 +1 @@
22 -DIST consul-template-0.19.5.tar.gz 6054881 BLAKE2B 48d691f9d09531248310ec50c6c59d3c74db4c8ca5f0236ac8336df92c75da89677e64cb593518032f48f53b9f5aa914a7b6ac0a2dc6bf6d32ae7c1f6d1dc60d SHA512 bdba4e821e353a71f9f6287b8ff352e85a916201314229b998bfbebb066fec17c5d7f12e224bf2920b018a4f5fec9000f122f6c04cb2e455a195b945e35235a5
23 DIST consul-template-0.20.0.tar.gz 46430965 BLAKE2B 025919b928e07cda618e05aab4488214459e6bc443524bbf8fa83331c3ad5708ebbeaf0cf20351ff70a325fb56aed9cede3010b43726fa32b5b1997d6f4f294a SHA512 a09ff31ddd7d11d78e8c2afcc9a63ab4458cc9feacc02fbf95a30c82b9ad58526c6e6575f5b3ddb21d0dd720687b9ee135bacdbe761f1b5f95592a3e3e74c170
24
25 diff --git a/app-admin/consul-template/consul-template-0.19.5.ebuild b/app-admin/consul-template/consul-template-0.19.5.ebuild
26 deleted file mode 100644
27 index ab75ab08e38..00000000000
28 --- a/app-admin/consul-template/consul-template-0.19.5.ebuild
29 +++ /dev/null
30 @@ -1,66 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit golang-vcs-snapshot systemd user
37 -
38 -KEYWORDS="~amd64"
39 -DESCRIPTION="Generic template rendering and notifications with Consul"
40 -GIT_COMMIT="f8c8205"
41 -EGO_PN="github.com/hashicorp/${PN}"
42 -HOMEPAGE="https://github.com/hashicorp/consul-template"
43 -LICENSE="MPL-2.0"
44 -SLOT="0"
45 -IUSE="test"
46 -
47 -DEPEND="dev-lang/go
48 - test? ( app-admin/consul )"
49 -RDEPEND=""
50 -
51 -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
52 -
53 -pkg_setup() {
54 - enewgroup ${PN}
55 - enewuser ${PN} -1 -1 -1 ${PN}
56 -}
57 -
58 -src_prepare() {
59 - default
60 - # Avoid the need to have a git checkout
61 - sed -e "s:git rev-parse --short HEAD:echo ${GIT_COMMIT}:" \
62 - -e '/-s \\/d' \
63 - -i src/${EGO_PN}/Makefile || die
64 - # Printf format %q has arg r.config.PidFile of wrong type *string
65 - sed -e 's|remove pid at %q: %s|remove pid at %v: %s|' \
66 - -i src/${EGO_PN}/manager/runner.go || die
67 -}
68 -
69 -src_compile() {
70 - export GOPATH=${S}
71 - cd src/${EGO_PN} || die
72 - #XC_ARCH=$(go env GOARCH) \
73 - #XC_OS=$(go env GOOS) \
74 - emake dev
75 -}
76 -
77 -src_test() {
78 - cd src/${EGO_PN} || die
79 - emake test
80 -}
81 -
82 -src_install() {
83 - dobin bin/${PN}
84 - dodoc src/${EGO_PN}/{CHANGELOG.md,README.md}
85 -
86 - keepdir /var/log/${PN}
87 - fowners ${PN}:${PN} /var/log/${PN}
88 -
89 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
90 - insinto /etc/logrotate.d
91 - newins "${FILESDIR}/${PN}.logrotated" "${PN}"
92 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
93 - systemd_dounit "${FILESDIR}/${PN}.service"
94 -
95 - keepdir /etc/${PN}.d
96 -}