# -*- 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.0.7 v
name                py-brotli
categories          python archivers
platforms           darwin
maintainers         {raimue @raimue} \
                    openmaintainer
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  2820a6e61bc8de3385b461032632b9d749697228 \
                    sha256  3c91248512e8ed142fca873d2cca3c5f7f5edd6ac3a23df994b2943486587ed7 \
                    size    23829515

python.versions     27 36 37

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

    test.run yes

    livecheck.type  none
}