app-admin/terraform: update to 0.11.12
authorDan Molik <dan@danmolik.com>
Sun, 10 Mar 2019 11:56:09 +0000 (07:56 -0400)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 10 Mar 2019 14:04:07 +0000 (17:04 +0300)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Dan Molik <dan@danmolik.com>
Tested-by: Dan Molik <dan@danmolik.com>
Closes: https://bugs.gentoo.org/679872
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
app-admin/terraform/Manifest
app-admin/terraform/terraform-0.11.12.ebuild [new file with mode: 0644]

index d83bd780e06a568fa1dff6300bd064af0669ce0d..1ba3e28f6bc4578e4f97c24277c6f17f459cd430 100644 (file)
@@ -1 +1,2 @@
 DIST terraform-0.11.11.tar.gz 10938952 BLAKE2B 76062c2c95c95751f7a1a28fc7047ebd2255504dece99efa08ea8deede5e774a838571a2e0ab81fa90e2580823958d8e1781d154ecbed9c1d839a0cb2998487c SHA512 7c0cf4b0b70eab7dc88133d50ac4b586b72ac53e01c21c00766d03d10c753cfd404b146add21e378be8f1d305c5e92703cbaeac9e4c4b55bfc8b2532f74f63ee
+DIST terraform-0.11.12.tar.gz 10907800 BLAKE2B d6d3c0a25b994be9b61e250a35adae55ed6cea0cc2166ea62774940292d9e881f16b66b88b19d5fd2c64d19bdefb82b58c79c54d8c641e1ad2970ef9a463c4c8 SHA512 2163cbc13a2bd37b7dace0a4ee2b3da4ee212038f9d6e11b83e509a794cf8d854040c366a099c9560a149157c6951b1f9d1698b4c47bd11a4fa96c4521e93414
diff --git a/app-admin/terraform/terraform-0.11.12.ebuild b/app-admin/terraform/terraform-0.11.12.ebuild
new file mode 100644 (file)
index 0000000..7fbea19
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit golang-vcs-snapshot
+
+DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
+HOMEPAGE="https://www.terraform.io/"
+
+EGO_PN="github.com/hashicorp/${PN}"
+SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+DEPEND=">=dev-lang/go-1.11.0"
+
+DOCS="README.md CHANGELOG.md"
+
+src_compile() {
+       cd "src/${EGO_PN}" || die
+       GOPATH="${S}" GOCACHE="${T}/go-cache" go build \
+               -v -work -o "${S}/${PN}" ./ || die
+}
+
+src_install() {
+       dobin terraform
+
+       pushd "src/${EGO_PN}" || die
+       einstalldocs
+       popd || die
+}
+
+pkg_postinst() {
+       elog "If you would like to install shell completions please run:"
+       elog "    terraform -install-autocomplete"
+}