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, 30 Apr 2019 17:14:18
Message-Id: 1556644396.85727fab936c4db6021ac321a770c21f5a752c99.zmedico@gentoo
1 commit: 85727fab936c4db6021ac321a770c21f5a752c99
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 30 17:13:16 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 30 17:13:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85727fab
7
8 app-admin/consul-template: remove old version 0.18.5-r1
9
10 Package-Manager: Portage-2.3.66, Repoman-2.3.12
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-admin/consul-template/Manifest | 1 -
14 .../consul-template-0.18.5-r1.ebuild | 61 ----------------------
15 2 files changed, 62 deletions(-)
16
17 diff --git a/app-admin/consul-template/Manifest b/app-admin/consul-template/Manifest
18 index 3b5747bc247..744e4d45599 100644
19 --- a/app-admin/consul-template/Manifest
20 +++ b/app-admin/consul-template/Manifest
21 @@ -1,2 +1 @@
22 -DIST consul-template-0.18.5.tar.gz 5285939 BLAKE2B 822df39f77d9aebc55e03d74b43ace9d453135c6270aedd3d41a674b5ae325a588af2a76c9236072d6f6dd274ab75c050df6607aa5bfc98b0caf2cd3065b1b04 SHA512 1709c889cd414d2b3510400e8077aec49006c31958618a38f6bce78dad2ba4aac5405410b030bf968b5cf148f4cfbe963ccf95a015cd1e58f2f6d1f09edc13de
23 DIST consul-template-0.19.5.tar.gz 6054881 BLAKE2B 48d691f9d09531248310ec50c6c59d3c74db4c8ca5f0236ac8336df92c75da89677e64cb593518032f48f53b9f5aa914a7b6ac0a2dc6bf6d32ae7c1f6d1dc60d SHA512 bdba4e821e353a71f9f6287b8ff352e85a916201314229b998bfbebb066fec17c5d7f12e224bf2920b018a4f5fec9000f122f6c04cb2e455a195b945e35235a5
24
25 diff --git a/app-admin/consul-template/consul-template-0.18.5-r1.ebuild b/app-admin/consul-template/consul-template-0.18.5-r1.ebuild
26 deleted file mode 100644
27 index 47439c5c68f..00000000000
28 --- a/app-admin/consul-template/consul-template-0.18.5-r1.ebuild
29 +++ /dev/null
30 @@ -1,61 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
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 -EGO_PN="github.com/hashicorp/${PN}"
41 -HOMEPAGE="https://github.com/hashicorp/consul-template"
42 -LICENSE="MPL-2.0"
43 -SLOT="0"
44 -IUSE=""
45 -
46 -DEPEND=">=dev-lang/go-1.6:="
47 -RDEPEND=""
48 -
49 -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 -
51 -pkg_setup() {
52 - enewgroup ${PN}
53 - enewuser ${PN} -1 -1 -1 ${PN}
54 -}
55 -
56 -src_prepare() {
57 - eapply_user
58 - # Avoid the need to have a git checkout
59 - sed -e 's:^GIT.*::' \
60 - -i src/${EGO_PN}/scripts/compile.sh || die
61 -}
62 -
63 -src_compile() {
64 - export GOPATH=${S}
65 - cd "${S}"/src/${EGO_PN} || die
66 - PATH=${PATH}:${S}/bin \
67 - XC_ARCH=$(go env GOARCH) \
68 - XC_OS=$(go env GOOS) \
69 - emake bin-local
70 -}
71 -
72 -src_test() {
73 - cd "${S}"/src/${EGO_PN} || die
74 - emake test || die
75 -}
76 -
77 -src_install() {
78 - dobin "${S}"/src/${EGO_PN}/pkg/$(go env GOOS)_$(go env GOARCH)/${PN}
79 - dodoc "${S}"/src/${EGO_PN}/{CHANGELOG.md,README.md}
80 -
81 - keepdir /var/log/${PN}
82 - fowners ${PN}:${PN} /var/log/${PN}
83 -
84 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
85 - insinto /etc/logrotate.d
86 - newins "${FILESDIR}/${PN}.logrotated" "${PN}"
87 - newconfd "${FILESDIR}/${PN}.confd" "${PN}"
88 - systemd_dounit "${FILESDIR}/${PN}.service"
89 -
90 - keepdir /etc/${PN}.d
91 -}