summaryrefslogtreecommitdiff
path: root/dev-util/kubeval
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/kubeval')
-rw-r--r--dev-util/kubeval/Manifest4
-rw-r--r--dev-util/kubeval/kubeval-0.16.1.ebuild30
-rw-r--r--dev-util/kubeval/metadata.xml8
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/kubeval/Manifest b/dev-util/kubeval/Manifest
new file mode 100644
index 000000000000..3113a8b29d8b
--- /dev/null
+++ b/dev-util/kubeval/Manifest
@@ -0,0 +1,4 @@
+DIST kubeval-0.16.1-deps.tar.xz 103272544 BLAKE2B a34b9618d7543907b51469181f70b493353c480f9d671e5ef1442bb7975fadebd4d250a758504450548902914ab839dce986400ddf855a53f9ac25295c6cef2f SHA512 b96c11a8c1fa4f45611b332f1d8d8f88ee3e2a367f1adfe8cd568410a79f0df00380462e93d9ab59cf2cfafd29226cc83a78e13a842f2e4e3ecea4ae05bce05c
+DIST kubeval-0.16.1.tar.gz 50297 BLAKE2B 8b856e90f295e4394d17b53323cb278329ad6c40f711ffe5ce31dfe5d44cddb75a6ebd2f649992fac1631cd5739c4871802c03ca81ed94f23db4b25bff07685c SHA512 6ed4603d6a754c5d256c68a113c3f53745c118f605f215125cebf9d17e4fef505c4011330abec40ce89be6724f13f093a0ed6b5a1bbda3484dcc303a9208bbc8
+EBUILD kubeval-0.16.1.ebuild 621 BLAKE2B 4092c02968647dcc26c69cbbbc687dccbd8f1f1978e8edabcfb3c5c28954211fcf483207962cff94eb85ddbe8518d5d470c77529004b7f3173c3104cffb89435 SHA512 5d025884726dcda43e14daf3268986f5bf285a43d59d75f32c96171889a2289a3a441ec16b019cbdfe6ff9015e1086847fac1b2c6f0b2349bfb6430d7241e948
+MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251
diff --git a/dev-util/kubeval/kubeval-0.16.1.ebuild b/dev-util/kubeval/kubeval-0.16.1.ebuild
new file mode 100644
index 000000000000..4eac1a6a402c
--- /dev/null
+++ b/dev-util/kubeval/kubeval-0.16.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="validate kubernetes YAML or JSON configuration files"
+HOMEPAGE="https://kubeval.com"
+SRC_URI="https://github.com/instrumenta/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# tests require the network
+RESTRICT="test"
+
+src_compile() {
+ emake TAG=v${PV} build
+}
+
+src_install() {
+ dobin bin/kubeval
+dodoc -r docs/*
+}
+
+src_test() {
+ emake TAG=v${PV} test
+}
diff --git a/dev-util/kubeval/metadata.xml b/dev-util/kubeval/metadata.xml
new file mode 100644
index 000000000000..db463f3eeb66
--- /dev/null
+++ b/dev-util/kubeval/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>