# -*- 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           github 1.0
PortGroup           python 1.0

# keep this in sync with port brotli
github.setup        google brotli 1.2.0 v
github.tarball_from archive
revision            0

name                py-brotli
categories          python archivers
maintainers         nomaintainer
license             MIT

description         Python module for brotli compression format

long_description    \
    Brotli is a generic-purpose lossless compression algorithm that is similar \
    in speed with deflate but offers more dense compression. This port installs \
    python modules, see also port brotli for the bro tool.

dist_subdir         brotli

checksums           rmd160  949e0c56045b760b854714f45b0912936a9be53a \
                    sha256  816c96e8e8f193b40151dad7e8ff37b1221d019dbcb9c35cd3fadbfe6477dfec \
                    size    646315

python.versions     39 310 311 312 313 314

if {$subport ne $name} {
    patchfiles      CXXFLAGS.patch

    test.run yes
}

github.livecheck.regex {([0-9.]+)}
