diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-06 14:14:18 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-06 14:15:00 +0300 |
commit | b4062a7f33d9c46e83468369b56c868a5dd3f17c (patch) | |
tree | d759cf0c44e29b8eadfacde4e373615f89fd7626 /app-admin/terraform | |
parent | dev-ruby/backports: add 3.17.0 (diff) | |
download | gentoo-b4062a7f33d9c46e83468369b56c868a5dd3f17c.tar.gz gentoo-b4062a7f33d9c46e83468369b56c868a5dd3f17c.tar.bz2 gentoo-b4062a7f33d9c46e83468369b56c868a5dd3f17c.zip |
app-admin/terraform: Version bump (v0.12.23)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-admin/terraform')
-rw-r--r-- | app-admin/terraform/Manifest | 1 | ||||
-rw-r--r-- | app-admin/terraform/terraform-0.12.23.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest index f4b4af6cdd84..9f2c99081067 100644 --- a/app-admin/terraform/Manifest +++ b/app-admin/terraform/Manifest @@ -1,3 +1,4 @@ DIST terraform-0.12.17.tar.gz 10508005 BLAKE2B facef6de57333586445ce8839c03ccd633fe9ac68619e384b71fff921afeaf260e01b8783d61e4cc04882aa644e8eb706b08c88216f093d85e0fd081363c4103 SHA512 6311fdbf6764e585126a1e177dc498634a799ba1a68ba98682e2be29d14b40c09d0a780555f10bbde0587445d31a1e0d9810226f9e6bd3fcb248428ceb864c87 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 diff --git a/app-admin/terraform/terraform-0.12.23.ebuild b/app-admin/terraform/terraform-0.12.23.ebuild new file mode 100644 index 000000000000..02737dda10ce --- /dev/null +++ b/app-admin/terraform/terraform-0.12.23.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" +} |