From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87ABF158015 for ; Tue, 26 Dec 2023 16:41:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C28AE2BC017; Tue, 26 Dec 2023 16:41:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9D8552BC017 for ; Tue, 26 Dec 2023 16:41:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97EF8335DCD for ; Tue, 26 Dec 2023 16:41:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0059E13A0 for ; Tue, 26 Dec 2023 16:41:03 +0000 (UTC) From: "sin-ack" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "sin-ack" Message-ID: <1703608727.b462b91d3672ee63f706f12017369a1be864985c.sin-ack@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-admin/opentofu/Manifest app-admin/opentofu/opentofu-1.6.0_rc1.ebuild X-VCS-Directories: app-admin/opentofu/ X-VCS-Committer: sin-ack X-VCS-Committer-Name: sin-ack X-VCS-Revision: b462b91d3672ee63f706f12017369a1be864985c X-VCS-Branch: dev Date: Tue, 26 Dec 2023 16:41:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a98b8879-8cac-44be-a19e-6ad23d77e281 X-Archives-Hash: 34ec45ea6c438561551f04a864d9d08b commit: b462b91d3672ee63f706f12017369a1be864985c Author: sin-ack protonmail com> AuthorDate: Tue Dec 26 16:38:47 2023 +0000 Commit: sin-ack protonmail com> CommitDate: Tue Dec 26 16:38:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b462b91d app-admin/opentofu: new package, add 1.6.0_rc1 Signed-off-by: sin-ack protonmail.com> app-admin/opentofu/Manifest | 2 ++ app-admin/opentofu/opentofu-1.6.0_rc1.ebuild | 44 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/app-admin/opentofu/Manifest b/app-admin/opentofu/Manifest new file mode 100644 index 0000000000..39ef76f21b --- /dev/null +++ b/app-admin/opentofu/Manifest @@ -0,0 +1,2 @@ +DIST opentofu-1.6.0_rc1.tar.gz 3697569 BLAKE2B c29ce1ccfb191b6b48796dbf99f54357ae3caf6703b82b296da3bdb7735c11075c399730b2643321ddf61cff3fdff33c47e2813969e898dd95169db444e7641d SHA512 2f4021e6d77eac238c3a158ade17a2c388ad27f48e85a2a47480a3be5648f9470ba42d23b131308dd4dd9c45f7e8322df195d682356cd40969f0d45d6bfa91ca +DIST opentofu-v1.6.0-rc1-vendor.tar.gz 15873243 BLAKE2B 07fbc0857c539dd6aa43927b2be6799a4842e9cbf3a8ff34145a516d803772a55a9520128c45d69a16b89303515bc03d9cc450d154a45d486542b7dc855c1999 SHA512 568c386ad9178f9d1bdbe5d9bb18efb149ab58ca2b50bacab228c0419d61a55fbf265229c97980920ac837c4f0ccedb378fdcf7e2d8219622990812cd6863fde diff --git a/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild b/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild new file mode 100644 index 0000000000..eb2b0e2813 --- /dev/null +++ b/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="A fork of Terraform that is open-source, community-driven, and managed by the Linux Foundation" +HOMEPAGE="https://opentofu.org/" + +MY_PV="${PV/_rc/-rc}" +S="${WORKDIR}/${PN}-${MY_PV}" +SRC_URI="https://github.com/opentofu/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz + https://github.com/sin-ack/opentofu-vendor/releases/download/v${MY_PV}/opentofu-v${MY_PV}-vendor.tar.gz" + +# Main package is MPL-2.0. The rest is obtained with `go-licenses csv ./cmd/tofu' +LICENSE="MPL-2.0 Apache-2.0 BSD-2-Clause ISC MIT" +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" +}