From fbbaa6d13d225c503d5c13232088b6752c250c43 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 28 Jan 2021 10:41:55 -0500 Subject: [PATCH] python3-guessit: specify all python3 hostmakedepends --- srcpkgs/python3-guessit/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-guessit/template b/srcpkgs/python3-guessit/template index ededabb16e..8945e95b04 100644 --- a/srcpkgs/python3-guessit/template +++ b/srcpkgs/python3-guessit/template @@ -1,7 +1,7 @@ # Template file for 'python3-guessit' pkgname=python3-guessit version=3.1.1 -revision=2 +revision=3 wrksrc="guessit-${version}" build_style=python3-module hostmakedepends="python3-setuptools" @@ -12,3 +12,8 @@ license="LGPL-3.0-only" homepage="https://guessit.readthedocs.io/en/latest/" distfiles="${PYPI_SITE}/g/guessit/guessit-${version}.tar.gz" checksum=71c68c6d4e9d639eba6534a838468115ad20f4c5a688eae3079f0c08d605a3b0 + +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 +}