# -*- 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-setupmeta
version             3.9.0
revision            0

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

description         Simplify your setup.py
long_description    {*}${description}

homepage            https://github.com/zsimic/setupmeta

checksums           rmd160  c98df875d8f888cf471957b50f93e9a00ee5533e \
                    sha256  c1719697ac8407dd84018f5699121cdb4ec70bde28263b665a35e36f108aac29 \
                    size    83739

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.rst \
            LICENSE ${destroot}${docdir}
    }
}
