# -*- 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-scikits-audiolab
version             0.11.0
maintainers         nomaintainer

categories-append   science audio
license             LGPL-2.1+
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            https://cournape.github.io/audiolab/
master_sites        pypi:s/scikits.audiolab/
distname            scikits.audiolab-${version}

checksums           rmd160  3f86eb15b9c30256a6793b6943f74a5e28a4c23a \
                    sha256  c914f3bc5a59f67d3e2c6cc5550e3479b5eb491a45fa040352083d18fbe55ddf \
                    size    892285

python.versions     27

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

    depends_lib-append  port:libsndfile \
                        port:py${python.version}-numpy \
                        port:py${python.version}-scikits-module

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