From 6d4baecc688159a3d52fbd8983534e252820f6c9 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 28 Jan 2021 09:34:07 -0500 Subject: [PATCH] python3-audioread: specify all python3 hostmakedepends --- srcpkgs/python3-audioread/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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