# -*- 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-pylsqpack
version             0.3.19
revision            0
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         pylsqpack is a wrapper around the ls-qpack library.
long_description    {*}${description} It provides Python Decoder and Encoder objects \
                    to read or write HTTP/3 headers compressed with QPACK.
homepage            https://github.com/aiortc/pylsqpack

checksums           rmd160  d2347129cbf0b4b2322f547fc75baa20d78ff7df \
                    sha256  529fa3e3d6f1b0eec92b434503c0ec551cb714023cc1710911f665fab6a86ebd \
                    size    660771

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append  \
                    port:ls-qpack

    # error: #pragma GCC diagnostic not allowed inside functions
    compiler.blacklist-append \
                    *gcc-4.0 *gcc-4.2
}
