diff --git a/srcpkgs/python3-audioread/template b/srcpkgs/python3-audioread/template index 8db13a91ddb..0fad35d5c50 100644 --- a/srcpkgs/python3-audioread/template +++ b/srcpkgs/python3-audioread/template @@ -1,7 +1,7 @@ # Template file for 'python3-audioread' pkgname=python3-audioread version=2.1.8 -revision=4 +revision=5 wrksrc="audioread-${version}" build_style=python3-module hostmakedepends="python3-setuptools" @@ -13,6 +13,11 @@ homepage="https://github.com/sampsyo/audioread/" distfiles="${PYPI_SITE}/a/audioread/audioread-${version}.tar.gz" checksum=073904fabc842881e07bd3e4a5776623535562f70b1655b635d22886168dd168 +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