# -*- 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-wsproto
version             1.3.2
revision            0

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

description         WebSockets state-machine based protocol implementation
long_description    {*}${description}

homepage            https://python-hyper.org/projects/wsproto

checksums           rmd160  8796cc7cceeb62c8314277a1d8e390eae4d85fb1 \
                    sha256  b86885dcf294e15204919950f666e06ffc6c7c114ca900b060d6e16293528294 \
                    size    50116

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append      port:py${python.version}-h11

    test.run                yes
}
