# -*- 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.3
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  4d53c8207ef261dcd6004114bbacf23ad8113731 \
                    sha256  cbac2b60198fbab84533697e7c4904cc895ec69d5fb3973556c9eb74a4629b2c \
                    size    53465

python.versions     310 311 312 313 314

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
}
