# -*- 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.1 v
github.tarball_from archive

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  7bb33fe906875629d795c0f2420706a481b89672 \
                    sha256  98d35d11a78dc453aebb7d10c3748f3f73ff78c8267c0dc697b8631f67bf7e8f \
                    size    646598

python.versions     310 311 312 313 314 315

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

    test.run yes
}

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