public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/
@ 2023-12-26 16:41 sin-ack
  0 siblings, 0 replies; 5+ messages in thread
From: sin-ack @ 2023-12-26 16:41 UTC (permalink / raw
  To: gentoo-commits

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"
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/
@ 2023-12-26 16:47 sin-ack
  0 siblings, 0 replies; 5+ messages in thread
From: sin-ack @ 2023-12-26 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     c543d545fa4eadf3c0004fda9207f4048bc59d46
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Tue Dec 26 16:46:34 2023 +0000
Commit:     sin-ack <sin-ack <AT> protonmail <DOT> com>
CommitDate: Tue Dec 26 16:46:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c543d545

app-admin/opentofu: Add metadata.xml

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>

 app-admin/opentofu/metadata.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/app-admin/opentofu/metadata.xml b/app-admin/opentofu/metadata.xml
new file mode 100644
index 0000000000..710d92bb10
--- /dev/null
+++ b/app-admin/opentofu/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>sin-ack@protonmail.com</email>
+		<name>sin-ack</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">opentofu/opentofu</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/
@ 2023-12-26 16:47 sin-ack
  0 siblings, 0 replies; 5+ messages in thread
From: sin-ack @ 2023-12-26 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     542268040c7b28f12fb27ba4ac550b2c0ef7b6cf
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Tue Dec 26 16:42:14 2023 +0000
Commit:     sin-ack <sin-ack <AT> protonmail <DOT> com>
CommitDate: Tue Dec 26 16:42:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54226804

app-admin/opentofu: update DESCRIPTION, LICENSE

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>

 app-admin/opentofu/opentofu-1.6.0_rc1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild b/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild
index eb2b0e2813..6a2b3f9576 100644
--- a/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild
+++ b/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 inherit go-module
 
-DESCRIPTION="A fork of Terraform that is open-source, community-driven, and managed by the Linux Foundation"
+DESCRIPTION="A fork of Terraform that is open-source and community-driven"
 HOMEPAGE="https://opentofu.org/"
 
 MY_PV="${PV/_rc/-rc}"
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/opentofu/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.
 	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"
+LICENSE="MPL-2.0 Apache-2.0 BSD-2 ISC MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/
@ 2024-01-12 18:28 sin-ack
  0 siblings, 0 replies; 5+ messages in thread
From: sin-ack @ 2024-01-12 18:28 UTC (permalink / raw
  To: gentoo-commits

commit:     ee6141d1d83aae89d87acd156c5d9145da6dafc7
Author:     sin-ack <sin-ack <AT> protonmail <DOT> com>
AuthorDate: Fri Jan 12 18:27:37 2024 +0000
Commit:     sin-ack <sin-ack <AT> protonmail <DOT> com>
CommitDate: Fri Jan 12 18:27:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee6141d1

app-admin/opentofu: add 1.6.0, drop 1.6.0_rc1

Signed-off-by: sin-ack <sin-ack <AT> protonmail.com>

 app-admin/opentofu/Manifest                                         | 4 ++--
 .../opentofu/{opentofu-1.6.0_rc1.ebuild => opentofu-1.6.0.ebuild}   | 6 +++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/app-admin/opentofu/Manifest b/app-admin/opentofu/Manifest
index 39ef76f21b..1db6055080 100644
--- a/app-admin/opentofu/Manifest
+++ b/app-admin/opentofu/Manifest
@@ -1,2 +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
+DIST opentofu-1.6.0.tar.gz 3696642 BLAKE2B e224ce14f04d07638d03b9a11ab251cd820acc86774f9c82f38f5bcfc38b62bbdbc70377e722a4dd2bd65f917ba0fc200ccaaeafdbd9430af66586491c7627eb SHA512 758f4ff79e526e9494e1e98dd927dbeb803b45df1f8bc15c3a9bca8343d7285b9130bfe5f19f6ddd7fd403b72d852b0d51542c058174e4bd5eed3c729b394bdb
+DIST opentofu-v1.6.0-vendor.tar.xz 8696980 BLAKE2B 44556df2bdbabaa3ad9f0e60a7e58ab65dd9dd5056abde87afe0cb0cc41c68bb48c67a69c3c48e8bb6b9b1419de9756ad68439dde8b75dbd7b44d0bf8e7868c0 SHA512 8c73002c2bb9e31ab7ce43aa62756b6d7df6575d2983fae7c2760aa2f1e9e241fa84c1103759daf121cecd002d12de4970dc7fa8586a1c2dd7e6e7a88dcfeee1

diff --git a/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild b/app-admin/opentofu/opentofu-1.6.0.ebuild
similarity index 76%
rename from app-admin/opentofu/opentofu-1.6.0_rc1.ebuild
rename to app-admin/opentofu/opentofu-1.6.0.ebuild
index 6a2b3f9576..a75905927b 100644
--- a/app-admin/opentofu/opentofu-1.6.0_rc1.ebuild
+++ b/app-admin/opentofu/opentofu-1.6.0.ebuild
@@ -10,7 +10,7 @@ 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"
+	https://github.com/sin-ack/opentofu-vendor/releases/download/v${MY_PV}/opentofu-v${MY_PV}-vendor.tar.xz"
 
 # 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 ISC MIT"
@@ -25,10 +25,14 @@ DOCS=( {README,CHANGELOG}.md )
 
 src_compile() {
 	export CGO_ENABLED=0
+	# The -ldflags argument is required to prevent opentofu from displaying
+	# -dev at the end of version strings:
+	# https://github.com/opentofu/opentofu/blob/main/BUILDING.md#dev-version-reporting
 	gox \
 		-os=$(go env GOOS) \
 		-arch=$(go env GOARCH) \
 		-output bin/tofu \
+		-ldflags "-w -s -X 'github.com/opentofu/opentofu/version.dev=no'" \
 		-verbose \
 		./cmd/tofu || die
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/
@ 2024-01-23 16:52 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2024-01-23 16:52 UTC (permalink / raw
  To: gentoo-commits

commit:     74bbbded88e1b26b5314a3324b8f090934a18a9b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Jan 23 16:52:11 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Jan 23 16:52:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74bbbded

app-admin/opentofu: treeclean (in ::gentoo now)

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-admin/opentofu/Manifest              |  2 --
 app-admin/opentofu/metadata.xml          | 11 --------
 app-admin/opentofu/opentofu-1.6.0.ebuild | 48 --------------------------------
 3 files changed, 61 deletions(-)

diff --git a/app-admin/opentofu/Manifest b/app-admin/opentofu/Manifest
deleted file mode 100644
index 1db6055080..0000000000
--- a/app-admin/opentofu/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST opentofu-1.6.0.tar.gz 3696642 BLAKE2B e224ce14f04d07638d03b9a11ab251cd820acc86774f9c82f38f5bcfc38b62bbdbc70377e722a4dd2bd65f917ba0fc200ccaaeafdbd9430af66586491c7627eb SHA512 758f4ff79e526e9494e1e98dd927dbeb803b45df1f8bc15c3a9bca8343d7285b9130bfe5f19f6ddd7fd403b72d852b0d51542c058174e4bd5eed3c729b394bdb
-DIST opentofu-v1.6.0-vendor.tar.xz 8696980 BLAKE2B 44556df2bdbabaa3ad9f0e60a7e58ab65dd9dd5056abde87afe0cb0cc41c68bb48c67a69c3c48e8bb6b9b1419de9756ad68439dde8b75dbd7b44d0bf8e7868c0 SHA512 8c73002c2bb9e31ab7ce43aa62756b6d7df6575d2983fae7c2760aa2f1e9e241fa84c1103759daf121cecd002d12de4970dc7fa8586a1c2dd7e6e7a88dcfeee1

diff --git a/app-admin/opentofu/metadata.xml b/app-admin/opentofu/metadata.xml
deleted file mode 100644
index 710d92bb10..0000000000
--- a/app-admin/opentofu/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>sin-ack@protonmail.com</email>
-		<name>sin-ack</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="github">opentofu/opentofu</remote-id>
-	</upstream>
-</pkgmetadata>

diff --git a/app-admin/opentofu/opentofu-1.6.0.ebuild b/app-admin/opentofu/opentofu-1.6.0.ebuild
deleted file mode 100644
index a75905927b..0000000000
--- a/app-admin/opentofu/opentofu-1.6.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# 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 and community-driven"
-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.xz"
-
-# 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 ISC MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="dev-go/gox"
-
-RESTRICT="test"
-
-DOCS=( {README,CHANGELOG}.md )
-
-src_compile() {
-	export CGO_ENABLED=0
-	# The -ldflags argument is required to prevent opentofu from displaying
-	# -dev at the end of version strings:
-	# https://github.com/opentofu/opentofu/blob/main/BUILDING.md#dev-version-reporting
-	gox \
-		-os=$(go env GOOS) \
-		-arch=$(go env GOARCH) \
-		-output bin/tofu \
-		-ldflags "-w -s -X 'github.com/opentofu/opentofu/version.dev=no'" \
-		-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"
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-23 16:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-26 16:47 [gentoo-commits] repo/proj/guru:dev commit in: app-admin/opentofu/ sin-ack
  -- strict thread matches above, loose matches on Subject: below --
2024-01-23 16:52 Anna Vyalkova
2024-01-12 18:28 sin-ack
2023-12-26 16:47 sin-ack
2023-12-26 16:41 sin-ack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox