From: "sin-ack" <sin-ack@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/
Date: Tue, 26 Dec 2023 16:41:03 +0000 (UTC) [thread overview]
Message-ID: <1703608727.b462b91d3672ee63f706f12017369a1be864985c.sin-ack@gentoo> (raw)
commit: b462b91d3672ee63f706f12017369a1be864985c
Author: sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Tue Dec 26 16:38:47 2023 +0000
Commit: sin-ack <sin-ack <AT> protonmail <DOT> 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 <sin-ack <AT> 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"
+}
next reply other threads:[~2023-12-26 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 16:41 sin-ack [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-26 16:47 [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/ sin-ack
2023-12-26 16:47 sin-ack
2024-01-12 18:28 sin-ack
2024-01-23 16:52 Anna Vyalkova
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1703608727.b462b91d3672ee63f706f12017369a1be864985c.sin-ack@gentoo \
--to=sin-ack@protonmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox