diff options
author | William Hubbs <williamh@gentoo.org> | 2024-07-06 13:04:44 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-07-06 13:06:19 -0500 |
commit | 6ea560821087739124410bb25bea9a8dfefac5fa (patch) | |
tree | 6aaf6596b846dc592843be5bdc4805db964d5651 /app-admin | |
parent | dev-python/mkdocs-material-extensions: Enable py3.13 (diff) | |
download | gentoo-6ea560821087739124410bb25bea9a8dfefac5fa.tar.gz gentoo-6ea560821087739124410bb25bea9a8dfefac5fa.tar.bz2 gentoo-6ea560821087739124410bb25bea9a8dfefac5fa.zip |
app-admin/opentofu: add 1.7.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/opentofu/Manifest | 2 | ||||
-rw-r--r-- | app-admin/opentofu/opentofu-1.7.2.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/opentofu/Manifest b/app-admin/opentofu/Manifest index 21c71bd5796a..c76804d9e981 100644 --- a/app-admin/opentofu/Manifest +++ b/app-admin/opentofu/Manifest @@ -6,3 +6,5 @@ DIST opentofu-1.6.2-deps.tar.xz 106556484 BLAKE2B fe6ed9507aa3589e34f8c3189d6ee0 DIST opentofu-1.6.2.tar.gz 3708735 BLAKE2B 07c48de78e5510c87413447bf2393ee3e93a91ea562a28849e9db6342eccb7b85745cea0aaa3d8e3861a10127905f4b3614b77863b62a21a0a8c8f5163afac22 SHA512 25fac0e6837f2d125d35f780c3091139819a00ae3f96c2e62a1c3c544e425a60c9880c84b4e1aa6727771c5523c81e8dbab38d5151b854bbc470d7819746567c DIST opentofu-1.7.1-deps.tar.xz 107794272 BLAKE2B cf06be88cdfe1e2b12d9f5b6c3576bb5d5fab9a05041fa60ad98a094778ab937efb5d2cc0f535f6212ed233188a4c620cc4ac80b5f58306b2dc92399d138c8b1 SHA512 d9e950cf196b93d75211593b372ecf46a6933f05a653e63c60bb1813530ddf39edce5236f1dcdc815812fbbe2b7721c237ca0cc36f3fcded523e1d213ba7ed7f DIST opentofu-1.7.1.tar.gz 3890267 BLAKE2B c82bd4a99eb904a2dddc1c38c7a67680b3a51eb9a4a23ff618d038c4b467c7666a9801c7fb205d2f93b60ec8137a28b193347c0be43357a7397a0d98b8e1cf06 SHA512 11573449cf73e44352124463bb2dfe890688fc0bb1a232fb57a16872612c562e0fe08ed926635fc21063118d83a120febd156073c23d8dc3294e00035c660ad6 +DIST opentofu-1.7.2-deps.tar.xz 107787580 BLAKE2B 10d7f8e114ca43964de34f4ecc7d8ada24f5ac069a7568a7b843e6c6d194e767deb254af00ce722ab82ed30eb80b34689c4e004b775edbbb07c34666f1436680 SHA512 7530197f99a1dc4d0a779edff466715039bd7d5fcaa70a5158cbde33256b0d90e9f2a1f47411c13f62a257f5baf6816fec5692b9e0ec01d2704c04d5935b59b9 +DIST opentofu-1.7.2.tar.gz 3890420 BLAKE2B 7e234b535cd76b8716ed69271fd2ba13670c7ab7ae5fcff8c1e5a16097a518eee2d437772ae90b680e38adf5e64d77fdfa543f087492a36eb866405500eb3cc4 SHA512 49f93c1f7e1469b69a784424b724460c199e54c351801ef7ad3db1fea24089b585a5cf9ffef90b45ba2713d853b8d99828ceffa7c3469737bcd201b6ce34f362 diff --git a/app-admin/opentofu/opentofu-1.7.2.ebuild b/app-admin/opentofu/opentofu-1.7.2.ebuild new file mode 100644 index 000000000000..544c2e0b5f16 --- /dev/null +++ b/app-admin/opentofu/opentofu-1.7.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="The open source infrastructure as code tool" +HOMEPAGE="https://www.opentofu.org/" +SRC_URI="https://github.com/opentofu/${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" + +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/tofu \ + -verbose \ + ./cmd/tofu || die +} + +src_install() { + dobin bin/* + einstalldocs +} + +pkg_postinst() { + elog "If you would like to install shell completions please run:" + elog " tofu -install-autocomplete" +} |