# -*- 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.2.0
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  4fffd38fba7eb24ef5bba7b872de840e4d7085e6 \
                    sha256  ad565f26ecb92588a3e43bc3d96164de84cd9902482b130d0ddbaa9664a85065 \
                    size    53425

python.versions     39 310 311 312 313

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

    test.run                yes
}
