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

PortSystem          1.0
PortGroup           python 1.0

name                py-lz4
version             0.6.0
license             BSD
maintainers         sean openmaintainer
description         LZ4 bindings for python
long_description    ${description} By Steeve Morin
platforms           darwin
supported_archs     noarch
homepage            http://pypi.python.org/pypi/lz4
master_sites        http://pypi.python.org/packages/source/l/lz4/
distname            lz4-${version}

checksums           rmd160  ace30ac89511536eb680347f8dc1283f73a089f9 \
                    sha256  2b0de695127fc0acabdad97c9be870d3619fa574d577b916985f7948371785c0

python.versions     26 27

if {${subport} != ${name}} {
    depends_build-append        port:py${python.version}-setuptools
    livecheck.type              none
} else {
    livecheck.type              regex
    livecheck.regex             {lz4/(\d+(?:\.\d+)*)}
}
