# -*- 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-pystoi
version             0.4.1
revision            0

categories-append   audio math
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {pguyot @pguyot} openmaintainer

description         Short Term Objective Intelligibility measure (STOI)

long_description    Implementation of the Short Term Objective \
                    Intelligibility (STOI) measure for assessing \
                    degraded speech signal quality.

homepage            https://github.com/mpariente/pystoi

checksums           rmd160  d4ef9481d44b94e04f855309299a4ec7d44917d2 \
                    sha256  1c6f50d6fbfee46b00c922458cdbd27228d9830ca81cea788fd600fc2f7de6e4 \
                    size    10401

python.versions     313 314

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