# -*- 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-cheroot
version             11.1.2
revision            0

categories-append   www
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         nomaintainer

description         Highly-optimized, pure-python HTTP server
long_description    {*}${description} used by CherryPy

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

checksums           rmd160  f7455d2fb3174859b2705525ab4d23a7efd659dd \
                    sha256  bfb70c49663f63b0440f2b54dbc6b0d1650e56dfe4e2641f59b2c6f727b44aca \
                    size    185716

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append \
                    port:py${python.version}-jaraco.functools \
                    port:py${python.version}-more-itertools
}
