# -*- 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.4.6
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  d2265aa3a47cd3a49e6941608351d48c2e5c07c3 \
                    sha256  3236b78f15f0415bdf006a620cef073d0c0522851d66f4a961ed6d8eb1482fe9 \
                    size    51300

python.versions    39 310 311 312

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
}
