commit:     bb773940b016873b14fad5026ab7a631d0e2b49f
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  1 15:59:06 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Sep  1 16:00:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb773940

app-admin/terraform: add 1.5.6

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-admin/terraform/Manifest               |  2 ++
 app-admin/terraform/terraform-1.5.6.ebuild | 40 ++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest
index cf4078755a2d..118a0200e4a4 100644
--- a/app-admin/terraform/Manifest
+++ b/app-admin/terraform/Manifest
@@ -8,3 +8,5 @@ DIST terraform-1.5.1-deps.tar.xz 297937120 BLAKE2B 
ab2d62a53e30a9f11e65aea18edb6
 DIST terraform-1.5.1.tar.gz 5389376 BLAKE2B 
ea3c3c361f8b9a57ba249038ce85b7b7656750a0a0eee729ba0f714f5629d5887fae371a45939e8dd9e75fde9ccbe65222ac6fcbb4702b8f6380e7aa480b2b88
 SHA512 
92be1ca23933d0e3b510211b8b3ef658f4e8a22ba0aff108a4b944b4278290e776d6b8b7d8fe9fa32cf7cd856ae06174310ef2fbccac2e39e4fe805bdf4d5fda
 DIST terraform-1.5.3-deps.tar.xz 296990652 BLAKE2B 
f48fbc5a0253c4f2b8d26a80a41891884b0dd3c74a9594daa44a50c9f30ed2fe6b9bcdef6a4113426b6bcfec7e11d9ed52eaf5f56a5ef5047e990e40cf5972e4
 SHA512 
4e05953fb01713a2bccfbd9010a58db01c1465d89ebbe6844910cb3d92276e73d270e214a4855a57175355e1bb10489201820bf4bb14f7ec891e2e9da5267068
 DIST terraform-1.5.3.tar.gz 5396543 BLAKE2B 
b21168d14d8000f8f2e2c8d05de157225f282e870b7ff64ce45f86c54ef9ed77d03130ccd20f965b79e5ac2d1859d296b015a02a946adbd8a3e6530ed42bf576
 SHA512 
b8f9a007099642cbf244c0d85008f708ba927a2c446996595e2aa3410f9a9b7b389ed5abad6fbfea029fadfc40f830a263ed8366761d30130f94b33a3c67136b
+DIST terraform-1.5.6-deps.tar.xz 297014652 BLAKE2B 
a72feedbb77ac95781a537c76ef5d1a8518e224ce6669c66af374cd5264eff77a85db321cf353c52ececbf0fee2ade0feae43507bbf7bb7226ae83ae393c38f4
 SHA512 
0af82d5f3dba2c813caf345bfc5b85e36d98317d4e15eb58f22f50ce8f3bef2b5ee21349cc164b4855cd2585b3b57886ae09e0f8049068c09612f36a99e728bf
+DIST terraform-1.5.6.tar.gz 5397969 BLAKE2B 
009c03cd142346b070e13db604430b81500ed2ce913644ccf34ed3dbdaaf54dc94d2ac5a409a6f0ca0459db9b18a51d11894dc5dd074467a69c4428673ef3d03
 SHA512 
7df24a05715d6989663fb1b2ecb8da7dfcb5cae991667ff1a34ed4196146d644818b5af31421d001deb8fcd5fcc920b174dc76a78edbb1092f6eaa645fbc1446

diff --git a/app-admin/terraform/terraform-1.5.6.ebuild 
b/app-admin/terraform/terraform-1.5.6.ebuild
new file mode 100644
index 000000000000..e3ee07fe5929
--- /dev/null
+++ b/app-admin/terraform/terraform-1.5.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="A tool for building, changing, and combining infrastructure 
safely"
+HOMEPAGE="https://www.terraform.io/";
+SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+BDEPEND="dev-go/gox"
+
+RESTRICT="test"
+
+DOCS=( {README,CHANGELOG}.md )
+
+src_compile() {
+       export CGO_ENABLED=0
+       gox \
+               -os=$(go env GOOS) \
+               -arch=$(go env GOARCH) \
+               -output bin/terraform \
+               -verbose \
+               . || die
+}
+
+src_install() {
+       dobin bin/*
+       einstalldocs
+}
+
+pkg_postinst() {
+       elog "If you would like to install shell completions please run:"
+       elog "    terraform -install-autocomplete"
+}

Reply via email to