commit: 74bbbded88e1b26b5314a3324b8f090934a18a9b Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Tue Jan 23 16:52:11 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> 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>[email protected]</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" -}
