# -*- 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-python-snappy
version             0.6.0
revision            0
platforms           darwin
license             BSD
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         Python library for the snappy compression library from \
                    Google
long_description    {*}${description}

homepage            http://github.com/andrix/python-snappy

checksums           rmd160  0cb60f12d4246798cbcb7eeff3052b8a1963077a \
                    sha256  168a98d3f597b633cfeeae7fe1c78a8dfd81f018b866cf7ce9e4c56086af891a \
                    size    21344

python.versions     38 39

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

    depends_lib-append \
                    port:snappy
}
