# -*- 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: Portfile 89643 2012-02-05 10:27:01Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-blosc
version             1.0.3
revision            0
categories-append   devel
license             MIT
platforms           darwin

maintainers         stromnov openmaintainer

description         Python package that wraps the Blosc compressor

long_description    Blosc (http://blosc.pytables.org) is a high performance \
                    compressor optimized for binary data.  It has been \
                    designed to transmit data to the processor cache faster \
                    than the traditional, non-compressed, direct memory fetch \
                    approach via a memcpy() OS call. \
                    \
                    Blosc works well for compressing numerical arrays that \
                    contains data with relatively low entropy, like sparse \
                    data, time series, grids with regular-spaced values, etc. \
                    \
                    This is a Python package that wraps it.

homepage            http://blosc.pytables.org/
master_sites        http://pypi.python.org/packages/source/b/blosc/

distname            blosc-${version}

checksums           rmd160  b1d4d165c661274a7be7c716cdf9bc1c2c247fb7 \
                    sha256  f9fdedd2f97e9e6ce18fe9c3f6dda8cb0ab34430236944c6351d8968e4efbe09

python.default_version  27
python.versions     26 27 31 32

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "blosc-(\\d+(?:\\.\\d+)*)${extract.suffix}"
