# -*- 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-websockets
version             8.1
license             BSD
platforms           darwin
maintainers         {toby @tobypeterson} openmaintainer
description         WebSocket implementation in Python 3
long_description    websockets is a library for building WebSocket servers and \
                    clients in Python with a focus on correctness and simplicity. \
                    Built on top of asyncio, Python's standard asynchronous I/O \
                    framework, it provides an elegant coroutine-based API.

homepage            https://github.com/aaugustin/websockets
master_sites        pypi:w/websockets
distname            websockets-${version}

checksums           rmd160 692203dc40eaade9a43b8506749c09fbdbe8ec6a \
                    sha256 5c65d2da8c6bce0fca2528f69f44b2f977e06954c8512a952222cea50dad430f \
                    size 58874

python.versions     37 38 39

if {${name} ne ${subport}} {
    depends_build   port:py${python.version}-setuptools

    livecheck.type  none
} else {
    livecheck.type  pypi
}
