1 |
commit: 107fc973186fbe5833722d53d36b18858fef3462 |
2 |
Author: Dan Molik <dan <AT> danmolik <DOT> com> |
3 |
AuthorDate: Mon Mar 18 11:37:56 2019 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 14 20:06:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=107fc973 |
7 |
|
8 |
app-admin/terraform: update to 0.11.13 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/11404 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
12 |
Signed-off-by: Dan Molik <dan <AT> danmolik.com> |
13 |
Tested-by: Dan Molik <dan <AT> danmolik.com> |
14 |
Signed-off-by: Amy Liffey <amynka <AT> gentoo.org> |
15 |
|
16 |
app-admin/terraform/Manifest | 1 + |
17 |
app-admin/terraform/terraform-0.11.13.ebuild | 39 ++++++++++++++++++++++++++++ |
18 |
2 files changed, 40 insertions(+) |
19 |
|
20 |
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest |
21 |
index 579b9944325..26c3674d61b 100644 |
22 |
--- a/app-admin/terraform/Manifest |
23 |
+++ b/app-admin/terraform/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST terraform-0.11.12.tar.gz 10907800 BLAKE2B d6d3c0a25b994be9b61e250a35adae55ed6cea0cc2166ea62774940292d9e881f16b66b88b19d5fd2c64d19bdefb82b58c79c54d8c641e1ad2970ef9a463c4c8 SHA512 2163cbc13a2bd37b7dace0a4ee2b3da4ee212038f9d6e11b83e509a794cf8d854040c366a099c9560a149157c6951b1f9d1698b4c47bd11a4fa96c4521e93414 |
26 |
+DIST terraform-0.11.13.tar.gz 10906645 BLAKE2B dafdc1acddd4ea97b41cc5899a541701731fce7b13b914c0859fe148b10b5c8ac877d71b665e8d80a65f376bb09fb8ae6fd0e0263ff711a156ca48119522f89d SHA512 1c16f20d1a65c763f1091ff2d20e0752e62903e07a12d41dd722e5c4c989f477da7d64901336d7536ed1693d5c82f4548ae5a643edae85b4e83325fc8c81b245 |
27 |
|
28 |
diff --git a/app-admin/terraform/terraform-0.11.13.ebuild b/app-admin/terraform/terraform-0.11.13.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..7fbea19820f |
31 |
--- /dev/null |
32 |
+++ b/app-admin/terraform/terraform-0.11.13.ebuild |
33 |
@@ -0,0 +1,39 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit golang-vcs-snapshot |
40 |
+ |
41 |
+DESCRIPTION="A tool for building, changing, and combining infrastructure safely" |
42 |
+HOMEPAGE="https://www.terraform.io/" |
43 |
+ |
44 |
+EGO_PN="github.com/hashicorp/${PN}" |
45 |
+SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MPL-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64" |
50 |
+IUSE="" |
51 |
+DEPEND=">=dev-lang/go-1.11.0" |
52 |
+ |
53 |
+DOCS="README.md CHANGELOG.md" |
54 |
+ |
55 |
+src_compile() { |
56 |
+ cd "src/${EGO_PN}" || die |
57 |
+ GOPATH="${S}" GOCACHE="${T}/go-cache" go build \ |
58 |
+ -v -work -o "${S}/${PN}" ./ || die |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ dobin terraform |
63 |
+ |
64 |
+ pushd "src/${EGO_PN}" || die |
65 |
+ einstalldocs |
66 |
+ popd || die |
67 |
+} |
68 |
+ |
69 |
+pkg_postinst() { |
70 |
+ elog "If you would like to install shell completions please run:" |
71 |
+ elog " terraform -install-autocomplete" |
72 |
+} |