# -*- 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 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-scikits-audiolab
version             0.10.2
revision            1
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     662e6bf137ce41e79ac470fc5d808760 \
                    sha1    e489c8ef45be2a2a59df2a9990560005c05b8587 \
                    rmd160  84c7c02601dd4e5f0bfc0930b077c1bd03a28fe1

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>
