# -*- 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-talkbox
version             0.2.5
maintainers         nomaintainer
license             MIT

categories-append   science devel
description         Talkbox, a set of python modules for speech/signal processing
long_description    ${description}

platforms           darwin

homepage            https://pypi.org/project/scikits.talkbox
master_sites        pypi:s/scikits.talkbox/
distname            scikits.talkbox-${version}

checksums           rmd160  0cbea977af22611131dd09423a5f7dbb1b9e5a03 \
                    sha256  437efb0d0e30e1ecddf218a660c1b3581a2fd90b60d61a8340de2b105185bdfb \
                    size    151541

python.versions     27

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

    # py*-scipy is not universal
    universal_variant   no

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

    livecheck.type      none
}
