diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-20 09:38:55 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-20 09:38:55 +0300 |
commit | d1eb82448e1f1aea80b47a2f96a80936fcdbd992 (patch) | |
tree | e3bd662d89df079d5e92e4324da920a9319bcfbf /app-admin | |
parent | media-sound/mpd: Version bump (v0.21.21) (diff) | |
download | gentoo-d1eb82448e1f1aea80b47a2f96a80936fcdbd992.tar.gz gentoo-d1eb82448e1f1aea80b47a2f96a80936fcdbd992.tar.bz2 gentoo-d1eb82448e1f1aea80b47a2f96a80936fcdbd992.zip |
app-admin/terraform: Version bump (v0.12.24)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/terraform/Manifest | 1 | ||||
-rw-r--r-- | app-admin/terraform/terraform-0.12.24.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest index 9f2c99081067..d367e6ce76fe 100644 --- a/app-admin/terraform/Manifest +++ b/app-admin/terraform/Manifest @@ -2,3 +2,4 @@ DIST terraform-0.12.17.tar.gz 10508005 BLAKE2B facef6de57333586445ce8839c03ccd63 DIST terraform-0.12.20.tar.gz 10383312 BLAKE2B c9e9c7e8328cfbeb533d12a2acee133cc049b06e9a30c9fdc5708c674c272af264ae34c8c850924ae08885237a2e4d6c55d43d92b350104c6afe66d2f50e31ec SHA512 df92422426e7ebaf2c3a6b953de9fc9fcb461f7227835e728bbccf5b796995d818a39817913d6010fadb8b3618710f77f50e36eb6ce4176e7312b68c7d7f7e96 DIST terraform-0.12.21.tar.gz 10420614 BLAKE2B 0c10cc7c33381330e7bbf20a1502019a6c651b0b0c5c3ca6713b76dd7f81a5f0d45affede0ba9ea9c2fe66585a87dc1e3be00c930d713a3eaabe865af1eb35ab SHA512 3b0dd3e6d8ae4b172d0be934ada6a8dcadc3024d0f27450ed107d55cf7f08b6b0b5eeb739a210fc9a76db42f7cc75ad5842ca7415afa3d7b17d9a34f23920a59 DIST terraform-0.12.23.tar.gz 10426601 BLAKE2B 578338591f9cac9f21586e6b4eccf632da350986d14aadea95044a7f343d6e91c307f953459bf49eb7584e61d58c7a11152d56b2f0a84cd088eb91f174556040 SHA512 7598b45a76e0684594067921bc9cd5da954c4590f612dcaf29e77c40c372f15f690732896f90272666ec587a3cb2e07dc556e29e9d029fd019528ae3e3cb0abb +DIST terraform-0.12.24.tar.gz 10427523 BLAKE2B 088d0cd249a065ef663b41690e0c1e27baf61706da3444d4677b3a1b24652c50882601e036841fb004377a57d38918a62a45eb84983f5d8f09138ae2c5b3e77e SHA512 026b4c30438459d5fa433ea606e8e020f2ff71ba6e14a5caeecef32f5800a0699cb192ece4bf9b5005b8e0fb2e375f70602d44d94b0b8efa3bac20f9a30e14e6 diff --git a/app-admin/terraform/terraform-0.12.24.ebuild b/app-admin/terraform/terraform-0.12.24.ebuild new file mode 100644 index 000000000000..02737dda10ce --- /dev/null +++ b/app-admin/terraform/terraform-0.12.24.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit golang-base go-module + +DESCRIPTION="A tool for building, changing, and combining infrastructure safely" +HOMEPAGE="https://www.terraform.io/" + +EGO_PN="github.com/hashicorp/${PN}" +SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD-2 BSD-4 ECL-2.0 imagemagick ISC JSON MIT MIT-with-advertising MPL-2.0 unicode" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" + +DOCS=( {README,CHANGELOG}.md ) + +src_prepare() { + default + # the sed command is necessary to generate tests outside of the + # default git root of `terraform', in our case the working dir + # is `work/$PN-$PV' + # sed -i -e "s/!=\s\+\"terraform\"/!=\ \"${P}\"/" \ + # ./scripts/generate-plugins.go || die +} + +src_compile() { + GOCACHE="${T}/go-cache" go build \ + -mod vendor \ + -work -o "bin/${PN}" ./ || die +} + +src_install() { + dobin bin/terraform + + einstalldocs +} + +pkg_postinst() { + elog "If you would like to install shell completions please run:" + elog " terraform -install-autocomplete" +} |