# -*- 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-sounddevice
version             0.5.2
revision            0

license             MIT
maintainers         nomaintainer

description         Play and Record Sound with Python
long_description    This Python module provides bindings for the PortAudio library \
                    and a few convenience functions to play and record NumPy arrays \
                    containing audio signals

homepage            https://python-sounddevice.readthedocs.io/

checksums           rmd160  a7882f4b3bdca0ed2197a608b1417059dd4f3852 \
                    sha256  c634d51bd4e922d6f0fa5e1a975cc897c947f61d31da9f79ba7ea34dff448b49 \
                    size    53150

python.versions     39 310 311 312 313

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

    depends_run-append  port:portaudio \
                        port:py${python.version}-cffi \
                        port:py${python.version}-numpy
}
