python3-audioread: specify all python3 hostmakedepends

This commit is contained in:
Andrew J. Hesford 2021-01-28 09:34:07 -05:00
parent 98401b9bd8
commit 6d4baecc68

View File

@ -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