# -*- 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-waitress
version             3.0.2
revision            0
platforms           {darwin any}
supported_archs     noarch
license             ZPL-2.1
maintainers         nomaintainer

description         Waitress WSGI server
long_description    {*}${description}

homepage            https://github.com/Pylons/waitress

checksums           rmd160  d1ac29f3b95785927523d6065925b35311de7120 \
                    sha256  682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f \
                    size    179901

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE.txt \
            COPYRIGHT.txt CONTRIBUTORS.txt HISTORY.txt CHANGES.txt \
            ${destroot}${docdir}
    }
}
