summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-01-31 12:35:21 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-01-31 12:37:21 -0600
commitcc243326e6ffe5aacc6297e74ffa0bbeea2ca4d4 (patch)
treea6b58be8f5607b40dc6832733ad00a6a754c9c18 /app-admin/terraform
parentwww-client/firefox: fast-fix for mold+lto+pgo compile issue on 122 (diff)
downloadgentoo-cc243326e6ffe5aacc6297e74ffa0bbeea2ca4d4.tar.gz
gentoo-cc243326e6ffe5aacc6297e74ffa0bbeea2ca4d4.tar.bz2
gentoo-cc243326e6ffe5aacc6297e74ffa0bbeea2ca4d4.zip
app-admin/terraform: add 1.7.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin/terraform')
-rw-r--r--app-admin/terraform/Manifest2
-rw-r--r--app-admin/terraform/terraform-1.7.2.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest
index e27da33c6e96..07026a4e520e 100644
--- a/app-admin/terraform/Manifest
+++ b/app-admin/terraform/Manifest
@@ -14,3 +14,5 @@ DIST terraform-1.6.5-deps.tar.xz 334283548 BLAKE2B 6222db5b66d9a49a7dba4806a1f5a
DIST terraform-1.6.5.tar.gz 5635461 BLAKE2B afa99bf8e9787a4498e9868ceb91921e6be7bdd5d7ef60378a9173e9765f689fb4c6e8888ce5405c00a6fe855e22dc91fc46e911be8bbc1f0665d9f11bed1ebf SHA512 588b00bc86905021d5efb41ba62306c2a41c9cd2225fb1aeb956a7845be15d6aa3c7d0365e3b779ea7da415a562094ba091e6a4644add72ba3abe169f3a7d36a
DIST terraform-1.7.0-deps.tar.xz 334327044 BLAKE2B 0f83b190af69766fde3c1906fd291f5d70fc9a2ee30ca4e61e5938b51dfca3a6cb942612fa97a4ea124b0fb4fdd6e4820cf314dd653419c7154e2d9e5e21be0d SHA512 80ecbdf3fe43e5eee25f774be47b01532d5f144d8564dc18443a501683fc2a10482682e983add24f1754bf02469035e7d5b0fd29378d3c851998e81c69eb45be
DIST terraform-1.7.0.tar.gz 6132499 BLAKE2B 15c7e47a193643aa57d4b11e92ad7f479cd7397efb389bf63413ee11e755233f0d2fd5434d151f180892e018f708f0110678818bb5d8900b25ed62684b8ef21d SHA512 02b121ed9db658ef7623bf4d2725a593b735153ab0dab6964416cdd109273b4d749bc74a4f1edf64258227dab3a8eb4ddb5fe3868b7964acc93bcd126c5fe1c5
+DIST terraform-1.7.2-deps.tar.xz 334339964 BLAKE2B 1f1e8b41dd164bb92271d8a29a8ec31a9aa34272c3ce8530518b0a2fdc1706a97581f6096b8bc564aa1291e6c53c1a5833a32af841fcc410b0c9880412a5edee SHA512 f8979165039a1c928a5de4759b96155b1c76ffa9ff5dd21081007f0b695f52b035d6cc8925cddfa20da3e252120642b2e58db3b76c47b4ccc845022440ac550b
+DIST terraform-1.7.2.tar.gz 6135908 BLAKE2B 252fbc41171a00c5077d7f07af25d912507215d1dd51be2c73b79a185a60c2eb486e5dd6ffd55bce06e1d2996b908930b5dc3cd73069fe78f7ac2e75cf144c26 SHA512 e9843cfa4a1f830fac10908257d05d08a6490edd9caeb8b83b45a6d1d282f98b6db0d07a4b2bc12439a76c0eb6a0bd0ab343a30cd92de6670c1ad9473d51c6d1
diff --git a/app-admin/terraform/terraform-1.7.2.ebuild b/app-admin/terraform/terraform-1.7.2.ebuild
new file mode 100644
index 000000000000..d8faa6d78fd0
--- /dev/null
+++ b/app-admin/terraform/terraform-1.7.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 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"
+}