commit:     59ad1405a07b35bec94110198caf92be62e5c8ca
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 13 00:01:31 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Dec 13 00:01:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ad1405

app-admin/terraform: add 1.6.5

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

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

diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest
index 118a0200e4a4..70cd4ab0f99d 100644
--- a/app-admin/terraform/Manifest
+++ b/app-admin/terraform/Manifest
@@ -10,3 +10,5 @@ DIST terraform-1.5.3-deps.tar.xz 296990652 BLAKE2B 
f48fbc5a0253c4f2b8d26a80a4189
 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
+DIST terraform-1.6.5-deps.tar.xz 334283548 BLAKE2B 
6222db5b66d9a49a7dba4806a1f5a07e0c7a871077bf960f556bcb55661957e41f4688babdd0f826a1a5b837520f98387de218fb8c90b7a902dda0f05566536d
 SHA512 
dbbc303282ac918441a4018ceed6c6c448137f126a9125c322514a3336f27d6c312060c39d0d60a132caad2540be5bc274d7b30206b1df72af3e795bb140aab8
+DIST terraform-1.6.5.tar.gz 5635461 BLAKE2B 
afa99bf8e9787a4498e9868ceb91921e6be7bdd5d7ef60378a9173e9765f689fb4c6e8888ce5405c00a6fe855e22dc91fc46e911be8bbc1f0665d9f11bed1ebf
 SHA512 
588b00bc86905021d5efb41ba62306c2a41c9cd2225fb1aeb956a7845be15d6aa3c7d0365e3b779ea7da415a562094ba091e6a4644add72ba3abe169f3a7d36a

diff --git a/app-admin/terraform/terraform-1.6.5.ebuild 
b/app-admin/terraform/terraform-1.6.5.ebuild
new file mode 100644
index 000000000000..fff5c2bc7b23
--- /dev/null
+++ b/app-admin/terraform/terraform-1.6.5.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="BUSL-1.1"
+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