# Template file for 'python3-audioread' pkgname=python3-audioread version=2.1.9 revision=1 wrksrc="audioread-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" short_desc="Multi-library, cross-platform audio decoding (Python3)" maintainer="Orphaned " license="MIT" homepage="https://github.com/sampsyo/audioread/" distfiles="${PYPI_SITE}/a/audioread/audioread-${version}.tar.gz" checksum=a3480e42056c8e80a8192a54f6729a280ef66d27782ee11cbd63e9d4d1523089 post_patch() { # Build doesn't actually require pytest-runner and Void doesn't offer it vsed -e '/pytest-runner/d' -i setup.py } post_install() { sed -n '2,13p' decode.py > LICENSE vlicense LICENSE }