# -*- 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-pyaudio python.rootname PyAudio version 0.2.11 revision 1 categories-append audio maintainers {@Jakker NLnetLabs.nl:jaap} openmaintainer license MIT description PyAudio provides Python bindings for PortAudio long_description ${description}, the cross-platform audio I/O library. \ With PyAudio, you can easily use Python to play and \ record audio on a variety of platforms. homepage https://people.csail.mit.edu/hubert/pyaudio/ checksums rmd160 7a6bb88f56622555e77eb799e4ee74ff970b6e92 \ sha256 93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74 \ size 37428 python.versions 38 39 310 if {${name} ne ${subport}} { depends_lib-append port:portaudio patchfiles patch-setup.py.diff post-patch { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README CHANGELOG \ ${destroot}${docdir} xinstall -m 0644 {*}[glob ${worksrcpath}/examples/*] \ ${destroot}${docdir}/examples } }