# -*- 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-aioquic
version             1.5.0
revision            0
license             BSD

maintainers         {mps @Schamschula} openmaintainer
description         aioquic is a library for the QUIC network protocol in Python.
long_description    {*}${description}  It features a minimal TLS 1.3 implementation, \
                    a QUIC stack and an HTTP/3 stack.
homepage            https://github.com/aiortc/aioquic

checksums           rmd160  377df6445268c4c6ac839ed8fe2b22937838b193 \
                    sha256  f765bd3c0792110f94cd945e9cac67255d0250875efb4eb4995305d9c55336af \
                    size    189228

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:py${python.version}-certifi \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-pylsqpack \
                    port:py${python.version}-openssl \
                    port:py${python.version}-service_identity

    if {${python.version} eq 310} {
        version     1.4.0
        revision    0

        checksums   rmd160  395bb0f6b24af9b1e52ff46e524f0794a69ab0a7 \
                    sha256  f8d4b1742a8ae6362ab037b34d5cbbdd3b5eafa9e186d3143e8f57d8d6ab5070 \
                    size    184137
    }
}
