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

python.rootname     python_snappy

checksums           rmd160  fe7452a2bbcd5e4da249ec4feaad938e401e4108 \
                    sha256  40216c1badfb2d38ac781ecb162a1d0ec40f8ee9747e610bcfefdfa79486cee3 \
                    size    9337

python.versions     310 311 312 313

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

    depends_lib-append \
                    port:snappy \
                    port:py${python.version}-cramjam
}
