# -*- 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-pycrdt-websocket
python.rootname     pycrdt_websocket
version             0.16.9
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Pycrdt-websocket is a Python library for building WebSocket servers \
                    and clients that connect and synchronize shared documents. It can \
                    be used to create collaborative web applications.
long_description    {*}${description}
homepage            https://github.com/y-crdt/pycrdt-websocket

checksums           rmd160  d180d6a4f8c083944b39175a09217378b78f7285 \
                    sha256  ff457e114a75161bb3c8e6f39f4a23cf639743df234616e17a76f1266bb1beb5 \
                    size    27620

python.versions     311 312 313 314 315

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-anyio \
                    port:py${python.version}-pycrdt \
                    port:py${python.version}-pycrdt-store
}
