diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-01-23 23:46:53 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-01-23 23:47:59 +0300 |
commit | 2c84b5fcf5b3bacd9a224fd3bf2054f71e731cf2 (patch) | |
tree | ff41de080c6953fa8fc23535801627b557d89f54 /app-admin/terraform | |
parent | app-text/discount: bump to 2.2.6 & take pkg (diff) | |
download | gentoo-2c84b5fcf5b3bacd9a224fd3bf2054f71e731cf2.tar.gz gentoo-2c84b5fcf5b3bacd9a224fd3bf2054f71e731cf2.tar.bz2 gentoo-2c84b5fcf5b3bacd9a224fd3bf2054f71e731cf2.zip |
app-admin/terraform: Version bump (v0.12.20)
Package-Manager: Portage-2.3.84, 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.20.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-admin/terraform/Manifest b/app-admin/terraform/Manifest index f1ff47e9b4d4..b16d8dca8598 100644 --- a/app-admin/terraform/Manifest +++ b/app-admin/terraform/Manifest @@ -1,2 +1,3 @@ DIST terraform-0.12.17.tar.gz 10508005 BLAKE2B facef6de57333586445ce8839c03ccd633fe9ac68619e384b71fff921afeaf260e01b8783d61e4cc04882aa644e8eb706b08c88216f093d85e0fd081363c4103 SHA512 6311fdbf6764e585126a1e177dc498634a799ba1a68ba98682e2be29d14b40c09d0a780555f10bbde0587445d31a1e0d9810226f9e6bd3fcb248428ceb864c87 DIST terraform-0.12.19.tar.gz 10526213 BLAKE2B 89acdb2e099532a922d49ac3d0049c522b7936817afb7836ebf643ef21fd35f3be495cde5a92ea93add144dada0f54de55b4b42a668bff08c9db789a1d4a77d1 SHA512 3acf327bdbaeddf6f13fc1a2a2335675dd3910137ef685224e7c1eafddf18d0aaa8c24aa3b1b5027b21905d2d87fbe3d49904e196c9881063d01670c4de3db66 +DIST terraform-0.12.20.tar.gz 10383312 BLAKE2B c9e9c7e8328cfbeb533d12a2acee133cc049b06e9a30c9fdc5708c674c272af264ae34c8c850924ae08885237a2e4d6c55d43d92b350104c6afe66d2f50e31ec SHA512 df92422426e7ebaf2c3a6b953de9fc9fcb461f7227835e728bbccf5b796995d818a39817913d6010fadb8b3618710f77f50e36eb6ce4176e7312b68c7d7f7e96 diff --git a/app-admin/terraform/terraform-0.12.20.ebuild b/app-admin/terraform/terraform-0.12.20.ebuild new file mode 100644 index 000000000000..4196f78931b6 --- /dev/null +++ b/app-admin/terraform/terraform-0.12.20.ebuild @@ -0,0 +1,45 @@ +# 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 \ + -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" +} |