# -*- 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-autobahn
version             20.7.1
platforms           darwin
license             MIT
maintainers         {mojca @mojca} openmaintainer

description         WebSocket client & server library WAMP real time framework
long_description    ${description}

homepage            https://crossbar.io/autobahn
master_sites        pypi:a/autobahn
distname            autobahn-${version}

checksums           rmd160  d38811290f505c10cc941abd4cbd745e15f3136d \
                    sha256  86bbce30cdd407137c57670993a8f9bfdfe3f8e994b889181d85e844d5aa8dfb \
                    size    1260579

python.versions     38 39

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

    depends_run-append \
                    port:py${python.version}-attrs \
                    port:py${python.version}-cffi \
                    port:py${python.version}-argon2-cffi \
                    port:py${python.version}-cbor \
                    port:py${python.version}-cbor2 \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-flatbuffers \
                    port:py${python.version}-msgpack \
                    port:py${python.version}-openssl \
                    port:py${python.version}-passlib \
                    port:py${python.version}-pynacl \
                    port:py${python.version}-pyqrcode \
                    port:py${python.version}-python-snappy \
                    port:py${python.version}-pytrie \
                    port:py${python.version}-service_identity \
                    port:py${python.version}-twisted \
                    port:py${python.version}-txaio \
                    port:py${python.version}-u-msgpack-python \
                    port:py${python.version}-ujson

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