# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 77293 2011-03-26 12:20:47Z mnick@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-scikits-audiolab
version             0.11.0
maintainers         mnick

categories-append   science audio
description         Audiolab is a python toolbox to read/write audio files from numpy arrays
long_description    ${description}. \
                    It gives SciPy the equivalent of Matlab wavread, wavwrite, etc... as well \
                    as soundsc on the supported platforms. Audiolab supports all format supported \
                    by libsndfile, including wav, aiff, ircam files, and flac

platforms           darwin

homepage            http://scikits.appspot.com/audiolab
master_sites        http://pypi.python.org/packages/source/s/scikits.audiolab/
distname            scikits.audiolab-${version}

checksums           md5     f93f17211c7763d8631e0d10f37471b0 \
                    sha1    c646429d44b9824aa0d78e11ff22172f93e0a0f1 \
                    rmd160  3f86eb15b9c30256a6793b6943f74a5e28a4c23a

depends_lib-append  port:libsndfile \
                    port:py26-numpy \
                    port:py26-scikits-module

post-destroot {
    # scikits/__init__.py is provided by scikits-module
    file delete ${destroot}${python.pkgd}/scikits/__init__.py
}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     <i>version (.*)</i>
