From 78b961dd907bc8fd12e6a3b7f4d9fb55ca0022ae Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 28 Jan 2021 11:02:10 -0500 Subject: [PATCH] python3-marisa-trie: specify all python3 hostmakedepends --- srcpkgs/python3-marisa-trie/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-marisa-trie/template b/srcpkgs/python3-marisa-trie/template index 288e5650df1..9b4d15dbffa 100644 --- a/srcpkgs/python3-marisa-trie/template +++ b/srcpkgs/python3-marisa-trie/template @@ -1,7 +1,7 @@ # Template file for 'python3-marisa-trie' pkgname=python3-marisa-trie version=0.7.5 -revision=5 +revision=6 wrksrc="marisa-trie-${version}" build_style=python3-module hostmakedepends="python3-setuptools python3-Cython" @@ -14,6 +14,11 @@ changelog="https://raw.githubusercontent.com/pytries/marisa-trie/master/CHANGES. distfiles="${PYPI_SITE}/m/marisa-trie/marisa-trie-${version}.tar.gz" checksum=c73bc25d868e8c4ea7aa7f1e19892db07bba2463351269b05340ccfa06eb2baf +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 +} + pre_build() { rm -f src/marisa_trie.cpp cython src/*.pyx src/*.pxd --cplus