From e299f035b3a2a47ead97084038e4f7d63ab8996e Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 28 Jan 2021 11:11:34 -0500 Subject: [PATCH] python3-rebulk: specify all python3 hostmakedepends --- srcpkgs/python3-rebulk/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-rebulk/template b/srcpkgs/python3-rebulk/template index 42118c4629a..3d620df0c61 100644 --- a/srcpkgs/python3-rebulk/template +++ b/srcpkgs/python3-rebulk/template @@ -1,7 +1,7 @@ # Template file for 'python3-rebulk' pkgname=python3-rebulk version=2.0.1 -revision=3 +revision=4 wrksrc="rebulk-${version}" build_style=python3-module hostmakedepends="python3-setuptools" @@ -13,6 +13,11 @@ homepage="https://github.com/Toilal/rebulk" distfiles="${PYPI_SITE}/r/rebulk/rebulk-${version}.tar.gz" checksum=320ded3cc456347d828f95e9aa5f8bab77ac01943cad024c06012069fe19690a +post_patch() { + # Package does not *need* pytest-runner to build, and Void doesn't have it + vsed -e "/setup_requires/s/['\"]pytest-runner['\"],*//" -i setup.py +} + post_install() { vlicense LICENSE }