void-packages/srcpkgs/python3-PyAudio/template

21 lines
665 B
Bash

# Template file for 'python3-PyAudio'
pkgname=python3-PyAudio
version=0.2.11
revision=7
wrksrc="PyAudio-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel portaudio-devel"
depends="python3"
short_desc="Python3 Bindings for PortAudio, a cross-platform audio IO library"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
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
}