Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #595 from shnups/kor-0.3.0
Browse files Browse the repository at this point in the history
New ebuild for kor-0.3.0
  • Loading branch information
shnups authored Nov 19, 2023
2 parents 7c99173 + e62590a commit 4a334c2
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys-cluster/kor/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,13 @@ DIST k8s.io%2Fkube-openapi%2F@v%2Fv0.0.0-20230717233707-2695361300d9.zip 2451236
DIST k8s.io%2Futils%2F@v%2Fv0.0.0-20230406110748-d93618cff8a2.mod 153 BLAKE2B 2e159060defcb7f5976047e59b476054981f2391252c58f9ed5208945fd6983be5ebe88389177f3c1dcd8926cea20f22a62075ac53451ff05a20a7f8d368f421 SHA512 680a61fe305afd3bc214f99cd09391ed43dfe3a7f9139436cc405763e72142aa83ef7d0f18b76f75fdb0b53639edce57899ad36336d276987b877f017b97ee9a
DIST k8s.io%2Futils%2F@v%2Fv0.0.0-20230406110748-d93618cff8a2.zip 198113 BLAKE2B c7be3a01feac81accee5ca1692f5f1da286db4a70100072284001b0fb6cadb16827199dba3d32a8581f2f83054d6eb0cd00251dff1ee9a23ff4e35b1978ec560 SHA512 78530d09ce45d38225bfba05298571d9560403cae674b55e5938fa24e10896d02b7793fe84ccc4ffd0cb0a4d55ec3cf68812d8c9963773abeb4927e23947c51e
DIST kor-0.2.9.tar.gz 263460 BLAKE2B 3dbf3572f1175f9abe7ca2c95c025f12a2e491b45d4945e2584194637d86eb0f3a00b6b8ca77dbe78a4ade1c4e7d54879bd5d73b93695784dcf68c841a3fdd48 SHA512 fe10ce219a0308f858c6f67b5a0e33abdfcd6f09f4f640b20fd6b13f27bdca39c3d5e6de1c1e761aebd13b031caad84f5c1c288baed28de7c624b4481f59a2ea
DIST kor-0.3.0.tar.gz 264351 BLAKE2B 559e90faea277b48400fceecf1420fb82bfdcc653e9d532313d04cdd7d4b5de8d97bd39327ca456e5d9f129b953a0b385fca6a710334be5d48a94dfa4a1ce747 SHA512 0bcc67cdcec4da324410ef17bdd32ed89863baac09be73c892c543a0c4ed3138b04005122aa8e4d29636cb7318d24893917dc204002e12043493b60a0b3ffdf7
DIST sigs.k8s.io%2Fjson%2F@v%2Fv0.0.0-20221116044647-bc3834ca7abd.mod 33 BLAKE2B d3368d46dc9817934789bc4c8b2db86dcb474285baad38103a950b173935c63b03c644655992cfd3e2f1504a10136dff9755853a3d53642c850f749686307fd1 SHA512 566ee8e0626e4a9985e4e3dcb175a89c926fd25181b8704d622fe0ad24000e4d5dc5f43535002279faaca11adbd9ae7abfc8c5e4a1c0568beb2f77ccb4268724
DIST sigs.k8s.io%2Fjson%2F@v%2Fv0.0.0-20221116044647-bc3834ca7abd.zip 226056 BLAKE2B f11a393717a98686596a4a91a5c96b345a3c3cb3d78eb3b778164250b695dabc9cc1929947f25ea06b0e7aac069cb99e0e9e25ba9b0fe92416fe3d29b34441ba SHA512 e91754526c451c85ca70905e4fe1a055c514acdf66f2aeb51d2f2c0b4903591d1c16405cc3089ac171d67d026ec33fbebb433b98d2586755cbc38b14d0f0fa6f
DIST sigs.k8s.io%2Fstructured-merge-diff%2Fv4%2F@v%2Fv4.2.3.mod 249 BLAKE2B 82f68d15b864673c08b200d7ad3fb1528585f409a91d88d8a9df5383a7143159db257daecf619192d3ad0c8092cf5cf27ae841ac89c2e421aa5e00af7cf2a1c8 SHA512 65c46f685e85182325587bf4d73ecdef8ff0d135c22378979a076b91a1957de439f795c9578f5fee4b04985e18e88d8049aef05b1bc6616b2dac22a4344f4d43
DIST sigs.k8s.io%2Fstructured-merge-diff%2Fv4%2F@v%2Fv4.2.3.zip 325397 BLAKE2B 636fdb551aaf7bb60e9f816e05f4b6c635594d86e889d0eb05be75adcaa57ba364479933162a1894fd0bfa24714ef2b5497c66f624e8de88bef0a208595d3ec2 SHA512 918057a4016358295a4687a1fab83d7022884d4230ef5cb4e01f3ecbf0581f2814f59cf43d40226ecf38a0f047fe10da983fefc4df78dad7d30bdca8db6e48e4
DIST sigs.k8s.io%2Fyaml%2F@v%2Fv1.4.0.mod 133 BLAKE2B 34e0219f863ced68514eef54f843e0e2c971453be6b1eb9ef33f9623395037769b1d67c479d55b48e20d949e4b2d22163e2beed91868a79a7b3e9afd85838908 SHA512 82766964fa0bee72f04a3034bcf52119eceb5c32352c2bb810650152a0a0e69510ff9e62446e5faf31aaa354ed0c63da6fcd4c2e5eb5e43f10a73a57a26b5244
DIST sigs.k8s.io%2Fyaml%2F@v%2Fv1.4.0.zip 222726 BLAKE2B 322e100dac9c76c17eb77cf11b9520655628e4f3463a08b38c1164583721b1ddd880fa53ab703b148a631b26b90e5a83de141429d3f20c437be70818950def12 SHA512 2e2a9f9c697333c443722ee2272a1056aecd30efd8deff1585b8435892de634d003ac59b2fddcc8a6a4ac297ae5408baf1c7e1eb139349d238f8ab07266f4d68
EBUILD kor-0.2.9.ebuild 9981 BLAKE2B 0b7794dc02c857cec786936de2621b105dbe50fb0f77e987b6b5a94b3f73f8d526472c1ca38c63fced4117d9c84d0ffe3431b16379645095d65921da12e4afba SHA512 a3e7c4ecffab028803d79496179be2a3d42ccb24a1cc7713f5918b728f06254c39bc3cb812d7a574719eab6027e43a13fc52652a55ab6c9ba6e7119a666baf3f
EBUILD kor-0.3.0.ebuild 9981 BLAKE2B a50b69ac33e99c19438a3c7d05589e7cc7ce0306a376fce8497f526310ca02afaebf75c626ed6d6aadf3ebb6f612f92ef56dfbd7adcafb3dd16e4fd8053bf44a SHA512 951151b5701afc184a4a691720ab08769178a9cd53ee61e542fdcfc04d1be939cdf95d7f24e238423a2bb84649910d3e2a633a5a22dd99c0a39c32e8428171f7
MISC metadata.xml 722 BLAKE2B 4fc17d13042ae6d7341f55b8656a51be7d3f2abe902246336224f8cf904d52df403d4bb9a690b92c793c6a7ef56c65c637016de8f07c6f6fcbf67271c3ec1ee5 SHA512 7bd79062f37d9751a13b68309618350050bf94b5b89a68adf43863369c1e5474f4efecc42a619046760890596349c2800811428414f322d26a653d0230335672
239 changes: 239 additions & 0 deletions sys-cluster/kor/kor-0.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,239 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit go-module
GIT_COMMIT="062aec60fe8a9a4fcab4711ca8217f8051582d16"

DESCRIPTION="A Golang Tool to discover unused Kubernetes Resources"
HOMEPAGE="https://github.com/yonahd/kor"

EGO_SUM=(
"github.com/beorn7/perks v1.0.1"
"github.com/beorn7/perks v1.0.1/go.mod"
"github.com/cespare/xxhash/v2 v2.2.0"
"github.com/cespare/xxhash/v2 v2.2.0/go.mod"
"github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod"
"github.com/creack/pty v1.1.9/go.mod"
"github.com/davecgh/go-spew v1.1.0/go.mod"
"github.com/davecgh/go-spew v1.1.1"
"github.com/davecgh/go-spew v1.1.1/go.mod"
"github.com/emicklei/go-restful/v3 v3.10.1"
"github.com/emicklei/go-restful/v3 v3.10.1/go.mod"
"github.com/evanphx/json-patch v5.6.0+incompatible"
"github.com/evanphx/json-patch v5.6.0+incompatible/go.mod"
"github.com/fatih/color v1.16.0"
"github.com/fatih/color v1.16.0/go.mod"
"github.com/go-logr/logr v1.2.0/go.mod"
"github.com/go-logr/logr v1.2.4"
"github.com/go-logr/logr v1.2.4/go.mod"
"github.com/go-openapi/jsonpointer v0.19.6/go.mod"
"github.com/go-openapi/jsonpointer v0.20.0"
"github.com/go-openapi/jsonpointer v0.20.0/go.mod"
"github.com/go-openapi/jsonreference v0.20.2"
"github.com/go-openapi/jsonreference v0.20.2/go.mod"
"github.com/go-openapi/swag v0.22.3/go.mod"
"github.com/go-openapi/swag v0.22.4"
"github.com/go-openapi/swag v0.22.4/go.mod"
"github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572"
"github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod"
"github.com/gogo/protobuf v1.3.2"
"github.com/gogo/protobuf v1.3.2/go.mod"
"github.com/golang/protobuf v1.2.0/go.mod"
"github.com/golang/protobuf v1.3.1/go.mod"
"github.com/golang/protobuf v1.5.0/go.mod"
"github.com/golang/protobuf v1.5.3"
"github.com/golang/protobuf v1.5.3/go.mod"
"github.com/google/gnostic-models v0.6.8"
"github.com/google/gnostic-models v0.6.8/go.mod"
"github.com/google/go-cmp v0.5.5/go.mod"
"github.com/google/go-cmp v0.5.9"
"github.com/google/go-cmp v0.5.9/go.mod"
"github.com/google/gofuzz v1.0.0/go.mod"
"github.com/google/gofuzz v1.2.0"
"github.com/google/gofuzz v1.2.0/go.mod"
"github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1"
"github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod"
"github.com/google/uuid v1.3.0"
"github.com/google/uuid v1.3.0/go.mod"
"github.com/imdario/mergo v0.3.16"
"github.com/imdario/mergo v0.3.16/go.mod"
"github.com/inconshreveable/mousetrap v1.1.0"
"github.com/inconshreveable/mousetrap v1.1.0/go.mod"
"github.com/josharian/intern v1.0.0"
"github.com/josharian/intern v1.0.0/go.mod"
"github.com/json-iterator/go v1.1.12"
"github.com/json-iterator/go v1.1.12/go.mod"
"github.com/kisielk/errcheck v1.5.0/go.mod"
"github.com/kisielk/gotool v1.0.0/go.mod"
"github.com/kr/pretty v0.2.1/go.mod"
"github.com/kr/pretty v0.3.1"
"github.com/kr/pretty v0.3.1/go.mod"
"github.com/kr/pty v1.1.1/go.mod"
"github.com/kr/text v0.1.0/go.mod"
"github.com/kr/text v0.2.0"
"github.com/kr/text v0.2.0/go.mod"
"github.com/mailru/easyjson v0.7.7"
"github.com/mailru/easyjson v0.7.7/go.mod"
"github.com/mattn/go-colorable v0.1.13"
"github.com/mattn/go-colorable v0.1.13/go.mod"
"github.com/mattn/go-isatty v0.0.16/go.mod"
"github.com/mattn/go-isatty v0.0.20"
"github.com/mattn/go-isatty v0.0.20/go.mod"
"github.com/mattn/go-runewidth v0.0.9/go.mod"
"github.com/mattn/go-runewidth v0.0.14"
"github.com/mattn/go-runewidth v0.0.14/go.mod"
"github.com/matttproud/golang_protobuf_extensions v1.0.4"
"github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod"
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd"
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
"github.com/modern-go/reflect2 v1.0.2"
"github.com/modern-go/reflect2 v1.0.2/go.mod"
"github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822"
"github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod"
"github.com/olekukonko/tablewriter v0.0.5"
"github.com/olekukonko/tablewriter v0.0.5/go.mod"
"github.com/onsi/ginkgo/v2 v2.11.0"
"github.com/onsi/ginkgo/v2 v2.11.0/go.mod"
"github.com/onsi/gomega v1.27.10"
"github.com/onsi/gomega v1.27.10/go.mod"
"github.com/pkg/errors v0.9.1"
"github.com/pkg/errors v0.9.1/go.mod"
"github.com/pmezard/go-difflib v1.0.0"
"github.com/pmezard/go-difflib v1.0.0/go.mod"
"github.com/prometheus/client_golang v1.17.0"
"github.com/prometheus/client_golang v1.17.0/go.mod"
"github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16"
"github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16/go.mod"
"github.com/prometheus/common v0.44.0"
"github.com/prometheus/common v0.44.0/go.mod"
"github.com/prometheus/procfs v0.11.1"
"github.com/prometheus/procfs v0.11.1/go.mod"
"github.com/rivo/uniseg v0.2.0/go.mod"
"github.com/rivo/uniseg v0.4.4"
"github.com/rivo/uniseg v0.4.4/go.mod"
"github.com/rogpeppe/go-internal v1.10.0"
"github.com/rogpeppe/go-internal v1.10.0/go.mod"
"github.com/russross/blackfriday/v2 v2.1.0/go.mod"
"github.com/spf13/cobra v1.8.0"
"github.com/spf13/cobra v1.8.0/go.mod"
"github.com/spf13/pflag v1.0.5"
"github.com/spf13/pflag v1.0.5/go.mod"
"github.com/stretchr/objx v0.1.0/go.mod"
"github.com/stretchr/objx v0.4.0/go.mod"
"github.com/stretchr/objx v0.5.0/go.mod"
"github.com/stretchr/testify v1.3.0/go.mod"
"github.com/stretchr/testify v1.7.1/go.mod"
"github.com/stretchr/testify v1.8.0/go.mod"
"github.com/stretchr/testify v1.8.1/go.mod"
"github.com/stretchr/testify v1.8.4"
"github.com/stretchr/testify v1.8.4/go.mod"
"github.com/yuin/goldmark v1.1.27/go.mod"
"github.com/yuin/goldmark v1.2.1/go.mod"
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
"golang.org/x/mod v0.2.0/go.mod"
"golang.org/x/mod v0.3.0/go.mod"
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
"golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod"
"golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod"
"golang.org/x/net v0.17.0"
"golang.org/x/net v0.17.0/go.mod"
"golang.org/x/oauth2 v0.10.0"
"golang.org/x/oauth2 v0.10.0/go.mod"
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
"golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod"
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
"golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod"
"golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod"
"golang.org/x/sys v0.6.0/go.mod"
"golang.org/x/sys v0.14.0"
"golang.org/x/sys v0.14.0/go.mod"
"golang.org/x/term v0.13.0"
"golang.org/x/term v0.13.0/go.mod"
"golang.org/x/text v0.3.0/go.mod"
"golang.org/x/text v0.3.2/go.mod"
"golang.org/x/text v0.3.3/go.mod"
"golang.org/x/text v0.13.0"
"golang.org/x/text v0.13.0/go.mod"
"golang.org/x/time v0.3.0"
"golang.org/x/time v0.3.0/go.mod"
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
"golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod"
"golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod"
"golang.org/x/tools v0.11.0"
"golang.org/x/tools v0.11.0/go.mod"
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
"google.golang.org/appengine v1.6.7"
"google.golang.org/appengine v1.6.7/go.mod"
"google.golang.org/protobuf v1.26.0-rc.1/go.mod"
"google.golang.org/protobuf v1.26.0/go.mod"
"google.golang.org/protobuf v1.31.0"
"google.golang.org/protobuf v1.31.0/go.mod"
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
"gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c"
"gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod"
"gopkg.in/inf.v0 v0.9.1"
"gopkg.in/inf.v0 v0.9.1/go.mod"
"gopkg.in/yaml.v2 v2.2.8/go.mod"
"gopkg.in/yaml.v2 v2.4.0"
"gopkg.in/yaml.v2 v2.4.0/go.mod"
"gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod"
"gopkg.in/yaml.v3 v3.0.1"
"gopkg.in/yaml.v3 v3.0.1/go.mod"
"k8s.io/api v0.28.3"
"k8s.io/api v0.28.3/go.mod"
"k8s.io/apiextensions-apiserver v0.28.3"
"k8s.io/apiextensions-apiserver v0.28.3/go.mod"
"k8s.io/apimachinery v0.28.3"
"k8s.io/apimachinery v0.28.3/go.mod"
"k8s.io/client-go v0.28.3"
"k8s.io/client-go v0.28.3/go.mod"
"k8s.io/klog/v2 v2.100.1"
"k8s.io/klog/v2 v2.100.1/go.mod"
"k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9"
"k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod"
"k8s.io/utils v0.0.0-20230406110748-d93618cff8a2"
"k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod"
"sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd"
"sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod"
"sigs.k8s.io/structured-merge-diff/v4 v4.2.3"
"sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod"
"sigs.k8s.io/yaml v1.4.0"
"sigs.k8s.io/yaml v1.4.0/go.mod"
)

go-module_set_globals
SRC_URI="https://github.com/yonahd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror"
DOCS=(LICENSE README.md)

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=">=dev-lang/go-1.21"

S="${WORKDIR}/${P}"

src_compile() {
go build -v -work -o "${PN}" || die
}

src_install() {
dobin ${PN}
einstalldocs
}

0 comments on commit 4a334c2

Please sign in to comment.