# -*- 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-docopt-ng
python.rootname     docopt_ng
version             0.9.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Pythonic argument parser, fork of docopt
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/${python.rootname}

checksums           rmd160  9f09f326c219ca18ffb6324f331c6a5e050facca \
                    sha256  91c6da10b5bb6f2e9e25345829fb8278c78af019f6fc40887ad49b060483b1d7 \
                    size    32264
python.pep517_backend \
                    pdm
python.versions     313 314

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