# -*- 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-pesq
version             0.0.4
revision            0

categories-append   audio math
license             MIT
maintainers         {pguyot @pguyot} openmaintainer
supported_archs     arm64 x86_64

description         PESQ (Perceptual Evaluation of Speech Quality) \
                    wrapper for Python

long_description    A Python wrapper for the PESQ speech quality \
                    evaluation algorithm, supporting both narrowband \
                    and wideband modes.

homepage            https://github.com/ludlows/python-pesq

checksums           rmd160  a48fa37b30186cb42a63961814bd4d4dced0eff9 \
                    sha256  b724b28f73fb638522982bd68e8c3c0957e2f45210639a460233b17aa7fc890b \
                    size    38702

python.versions     313 314

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-cython \
                    port:py${python.version}-pytest-runner
    depends_lib-append \
                    port:py${python.version}-numpy
}
