# -*- 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           python 1.0

name                py-cfgv
version             3.5.0
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Validate configuration and produce human readable error messages.
long_description    {*}${description}

homepage            https://github.com/asottile/cfgv

checksums           rmd160  d06a725ae99fcb82da315dbe54ade39befe00a98 \
                    sha256  d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132 \
                    size    7334

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
            ${destroot}${docdir}
    }
}
