summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-06-22 10:14:20 -0500
committerWilliam Hubbs <williamh@gentoo.org>2023-06-22 10:15:02 -0500
commit020f0d9aba53fa788802d1fd150147be0632f7f8 (patch)
tree6078391fba567214932d8e5b46690a907ae20bb8 /app-admin/terraform
parentdev-python/pyinotify: add link to py3.12 issue (diff)
downloadgentoo-020f0d9aba53fa788802d1fd150147be0632f7f8.tar.gz
gentoo-020f0d9aba53fa788802d1fd150147be0632f7f8.tar.bz2
gentoo-020f0d9aba53fa788802d1fd150147be0632f7f8.zip
app-admin/terraform: add 1.5.1
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.5.1.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest
index 678aff69c548..8272d74abd18 100644
--- a/app-admin/terraform/Manifest
+++ b/app-admin/terraform/Manifest
@@ -6,3 +6,5 @@ DIST terraform-1.4.6-deps.tar.xz 297873376 BLAKE2B d4346810ea5dd0043524637192b8b
DIST terraform-1.4.6.tar.gz 5118386 BLAKE2B 8015945c4e1cc4fff91b2b72a26182cfba6430d0268b00ae7345b4f29690d8876dfc55ec535342ef194d0674b8b9360abb046f3e56161cbcef27d0c7e02c1cbc SHA512 635ebadb275218a348b8d386aeed72bc8cc740d931ee5feea896ced80709d83ba265d40e0a335ec816e9568e42272075e3213670df23e603e342d94f3f42830a
DIST terraform-1.5.0-deps.tar.xz 297939668 BLAKE2B 12fc9e87096a08b1ac893e48872e0dc636afbcdb8c36b721ffeb5b34dff0ac377b5c1fa77d8679017bd98bb4973c34fd4055373fcb628ad63c02646c289f4692 SHA512 b6ceb57cd35c670526046f61bc3ab5f9677816d061b77079d1afe4ab8aa5665f894b3066b40ccf225bd73f12a21fc74610b7eb42907f1dbb1e1c0e1823804399
DIST terraform-1.5.0.tar.gz 5389374 BLAKE2B be4026ccd9b077dcdc51e606693a9dc6fc12f9dee9d704c2f2347dcc43fd2232b31e5a7c3cdf407e3cf0f588f412c0fe9723fac70f2d872ed0723a3a7b827e28 SHA512 3b46ed8315881a5777ed346667e39ab896e595e9487340def7798c006afe5a63f49a47e20621b39d336582854129e22c63eb690e33648c408ccf5bc504add025
+DIST terraform-1.5.1-deps.tar.xz 297937120 BLAKE2B ab2d62a53e30a9f11e65aea18edb65556a96bac4993e46161e3141bd147f283b199b5e100c8531a2098d6956c6ff255dae8f0752a952a33d6636c0a7c364205f SHA512 b5c1128b0d71a2854f14cf5c09460013eb8559028b785f3e5553999c3ea351e8f42d6189295833c3dd35256f90ae3af763b8c92abc525146200f3399bbf82365
+DIST terraform-1.5.1.tar.gz 5389376 BLAKE2B ea3c3c361f8b9a57ba249038ce85b7b7656750a0a0eee729ba0f714f5629d5887fae371a45939e8dd9e75fde9ccbe65222ac6fcbb4702b8f6380e7aa480b2b88 SHA512 92be1ca23933d0e3b510211b8b3ef658f4e8a22ba0aff108a4b944b4278290e776d6b8b7d8fe9fa32cf7cd856ae06174310ef2fbccac2e39e4fe805bdf4d5fda
diff --git a/app-admin/terraform/terraform-1.5.1.ebuild b/app-admin/terraform/terraform-1.5.1.ebuild
new file mode 100644
index 000000000000..e3ee07fe5929
--- /dev/null
+++ b/app-admin/terraform/terraform-1.5.1.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"
+}