diff options
author | William Hubbs <williamh@gentoo.org> | 2022-08-16 10:07:24 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-08-16 10:08:02 -0500 |
commit | ae07a71c948d1a2f80ba5f6663e8283c2d9cee6d (patch) | |
tree | 2f0528d866c981fc36a83a0b5574077c6048eece /app-admin/terraform | |
parent | sys-devel/bmake: Stabilize 20220612 amd64, #865375 (diff) | |
download | gentoo-ae07a71c948d1a2f80ba5f6663e8283c2d9cee6d.tar.gz gentoo-ae07a71c948d1a2f80ba5f6663e8283c2d9cee6d.tar.bz2 gentoo-ae07a71c948d1a2f80ba5f6663e8283c2d9cee6d.zip |
app-admin/terraform: add 1.2.7
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin/terraform')
-rw-r--r-- | app-admin/terraform/Manifest | 2 | ||||
-rw-r--r-- | app-admin/terraform/terraform-1.2.7.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest index 203a5599a89c..ccf8c7dcc39c 100644 --- a/app-admin/terraform/Manifest +++ b/app-admin/terraform/Manifest @@ -4,3 +4,5 @@ DIST terraform-1.2.3-deps.tar.xz 264283836 BLAKE2B 5b8305463b5978c903499d0a813ac DIST terraform-1.2.3.tar.gz 5181975 BLAKE2B 120db2c139726b3c1a5c76dcf048de6508f0a99b1f7a8abc2bc7fdb596a72453b4543806090062d804d68157dcb42255119e9e13c462668077baeca83016d287 SHA512 f2aa7436ac82fad365fbae22428984c6a62cb9a7ffa339af035c06f5002fae1b3b440265fdb97e0f4a4aeaebf3838f5a05cd3c40bca1a50273f0560ad4482fda DIST terraform-1.2.4-deps.tar.xz 264291608 BLAKE2B 4c0dd8d76bbf2b062f80225ff65342bccdf1f9efb03f0a309a42cdb64f139dbf31fb9ab6cf1754c0dde36c57123ffb7d5bb078d195ab879d29f29b2338761402 SHA512 e4440e541096a4311f713f8338d0653dd35fb7169cf39b1f06d8b1a7ad59d9b55d8115ae56edee9ce3da744d85180e606a9428b4907d1d6badcf8c77f72df36d DIST terraform-1.2.4.tar.gz 5183520 BLAKE2B 51b9353dfe40e988c8c621f9e09ec9d3e8facfa7b682832671b3f0f12f52d0836dd6ff1851bebfe6ca590248cd029c508dc35b437b637a51ace4c36ad5807730 SHA512 43dfc4745dbcb3f29577fac610771258c5a9551bf33019d1f6bd3059a808cd365f432842c565522c530b03abf18aeada53fc390604eaeafce4464afd9edcb463 +DIST terraform-1.2.7-deps.tar.xz 264297220 BLAKE2B 0052fe5519c5b9aec060dcb6a68d0a48ed069a7c4f37f8cfc9088f2fec5865c7e3e515be176e316f50eabd00c2658d7371ecb3a728d3bcf28fca120553bc39b3 SHA512 a9d77a8c26ec6fb7da3c8a574b10fd6559b8828539b5fe89ea98c29979bedf33488bb10b1b2ea1624841ea23dc33d5c5b350b1d6ba3b31fdcbc7e067aa9c8601 +DIST terraform-1.2.7.tar.gz 4694193 BLAKE2B e32f7a304aad5b4cfb0866d890036f772eafbd1c767941999c0db44ed7a9e0e931890a466518af5b7715dcff2a0bac1d379c230fa032f9ebae45ad9df041b9d1 SHA512 d77db9040bd19f4a6e2988a61ecb7dc5adecf46f798d90e1232f9ffe385668ecb0869f1877d5f6ea8a36d48e1e47fffa463b9809046b524af741ddb5b67b469e diff --git a/app-admin/terraform/terraform-1.2.7.ebuild b/app-admin/terraform/terraform-1.2.7.ebuild new file mode 100644 index 000000000000..411e61a46d05 --- /dev/null +++ b/app-admin/terraform/terraform-1.2.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 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" + +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" +} |