Skip to content

Commit

Permalink
python3-marisa-trie: fix hostmakedepends
Browse files Browse the repository at this point in the history
  • Loading branch information
ahesford committed Jan 28, 2021
1 parent caf3a2a commit e54b3a7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion srcpkgs/python3-marisa-trie/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down

0 comments on commit e54b3a7

Please sign in to comment.