# Template file for 'python-PyAudio' pkgname=python-PyAudio version=0.2.11 revision=3 wrksrc="PyAudio-${version}" build_style=python-module pycompile_module="pyaudio.py" hostmakedepends="python-setuptools python3-setuptools" makedepends="python-devel python3-devel portaudio-devel" short_desc="Python2 Bindings for PortAudio, a cross-platform audio IO library" maintainer="Cameron Nemo " license="MIT" homepage="https://people.csail.mit.edu/hubert/pyaudio/" distfiles="${PYPI_SITE}/P/PyAudio/PyAudio-${version}.tar.gz" checksum=93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74 post_install() { sed -n '/Copyright/,/SOFTWARE\./p'< README > LICENSE vlicense LICENSE } python3-PyAudio_package() { pycompile_module="pyaudio.py" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }