# -*- 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.3.14
platforms           darwin
license             MIT
maintainers         {mojca @mojca} openmaintainer

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/
master_sites        pypi:s/sounddevice
distname            sounddevice-${version}

checksums           rmd160  1b7622d4cff51655c745e9154790d0f71f5ac589 \
                    sha256  c7b0f7ad86550668da55404eabcb63d4212ec622fcce86510092306b77d2e80a \
                    size    48212

python.versions     27 35 36 37

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

    livecheck.type      none
} else {
    livecheck.type      pypi
}
