# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/yannh/kubeconform 0.6.7 v
revision            0

description         \
    A FAST Kubernetes manifests validator, with support for Custom Resources\!

long_description    \
    Kubeconform is a Kubernetes manifest validation tool. Incorporate it into \
    your CI, or use it locally to validate your Kubernetes configuration\!

categories          sysutils
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.args-append   \
    -o ./bin -ldflags \"-X main.version=${github.tag_prefix}${version}\" ./...

destroot {
    xinstall -m 0755 ${worksrcpath}/bin/${name} ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  d1408acca0534410a34894183357c829421ed356 \
                        sha256  3d38b9f3f8c75a2ac5917ab2dda0a6a89a581a75ed755aec698e931611979223 \
                        size    696138

go.vendors          sigs.k8s.io/yaml \
                        repo    github.com/kubernetes-sigs/yaml \
                        lock    v1.4.0 \
                        rmd160  848da6ddf4a80697e19b773bc82d92e317f34a01 \
                        sha256  b37e693349f2732cf144e2b25942e98ca9d21ac9b4096f69b0475e254e4d43cd \
                        size    192544 \
                    gopkg.in/check.v1 \
                        lock    20d25e280405 \
                        rmd160  412aa0d109919182ff84259e9b5bbc9f24d78117 \
                        sha256  233f8faf427ce6701ac3427f85c28bc6b6ae7cdc97a303a52873c69999223325 \
                        size    30360 \
                    golang.org/x/sys \
                        lock    v0.20.0 \
                        rmd160  3d0ae20090bc3c842511da5c580192dba48d3e43 \
                        sha256  ce54515eaa1296d15bbf4ad58526338eeedd046e24a8ee2840e7c3f0117faf33 \
                        size    1495244 \
                    github.com/santhosh-tekuri/jsonschema \
                        lock    v5.3.1 \
                        rmd160  64d8279a0dfac2b7559ec966417638299dd082d3 \
                        sha256  c914942ebd2745430fe283d13af73f60827a56bd709f37548916cd3d6b05ded7 \
                        size    45682 \
                    github.com/mattn/go-isatty \
                        lock    v0.0.20 \
                        rmd160  ef20ccdf87de8b704c0c7118625b2beb31d8f1b4 \
                        sha256  397549e98cf5d40df585f31dc7902f017c37be88c64311dd2b4aeccab4009949 \
                        size    4717 \
                    github.com/mattn/go-colorable \
                        lock    v0.1.13 \
                        rmd160  c9e8ab9d0773c0984f36235e3c9f8c033552ac1a \
                        sha256  0cd9a951799c1a9f999df56e4b020170fa887456049c274aae6262d9ae3f7424 \
                        size    9778 \
                    github.com/hashicorp/go-retryablehttp \
                        lock    v0.7.7 \
                        rmd160  21d2ab16f260bdf7a0405cbfe3f93cf78c1c595c \
                        sha256  bdbdca9554c9b6bab6cdafa24520822c1bff60d3d0de35820e07f236b7f91e4a \
                        size    25775 \
                    github.com/hashicorp/go-hclog \
                        lock    v1.6.3 \
                        rmd160  b94d3ed3317759940e0783d2c0ab8f6e50b22bae \
                        sha256  35591d4ab1710b22bd451eca48e74ab9092b785785698a4ae4934284069b16b0 \
                        size    32702 \
                    github.com/hashicorp/go-cleanhttp \
                        lock    v0.5.2 \
                        rmd160  18348882947b87155ec4391e1ea40d17a5314237 \
                        sha256  8f1a23af40fcc070a83fe3a32292f6607b19fc351d1b400778a18e8b8efc63e6 \
                        size    8091 \
                    github.com/google/go-cmp \
                        lock    v0.5.9 \
                        rmd160  9832ae80123461baed8aa20e830199c0e21e337b \
                        sha256  3058d20d61f03aa05fca0fc07acb8c50850c68086998c542857aec7ad1529482 \
                        size    104431 \
                    github.com/fatih/color \
                        lock    v1.16.0 \
                        rmd160  e366491b67c4f4afbc5d3a26f2b76585d06f8381 \
                        sha256  968744e2d5468beab9fe694143737c0c9e5cebfe860211c521a8424320cfa910 \
                        size    12112
