# -*- 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

# Do not update unless this is addressed:
# https://github.com/intake/python-snappy/issues/151
name                py-python-snappy
version             0.6.1
revision            0
epoch               1
license             BSD
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

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

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

checksums           rmd160  fecb63cbcfa4ba3e8b84877b6cbaf803c00304f3 \
                    sha256  b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb808bb2a \
                    size    24110

python.versions     310 311 312 313 314

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