# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pyaudio set my_name PyAudio version 0.2.9 categories-append audio platforms darwin maintainers NLnetLabs.nl:jaap license MIT description PyAudio provides Python bindings for PortAudio long_description PyAudio provides Python bindings for PortAudio, \ 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 http://people.csail.mit.edu/hubert/pyaudio/ master_sites pypi:P/PyAudio/ distname ${my_name}-${version} checksums rmd160 161e7b17b025ccf5b0925a34aa0f081ccd3651e9 \ sha256 bfd694272b3d1efc51726d0c27650b3c3ba1345f7f8fdada7e86c9751ce0f2a1 worksrcdir PyAudio-${version} python.versions 27 34 35 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools depends_lib-append port:portaudio patchfiles patch-setup.py.diff post-patch { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py } python.link_binaries no livecheck.type none } else { livecheck.type pypi livecheck.name ${my_name} }