python3-marisa-trie: specify all python3 hostmakedepends
This commit is contained in:
parent
85df3745e5
commit
78b961dd90
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-marisa-trie'
|
# Template file for 'python3-marisa-trie'
|
||||||
pkgname=python3-marisa-trie
|
pkgname=python3-marisa-trie
|
||||||
version=0.7.5
|
version=0.7.5
|
||||||
revision=5
|
revision=6
|
||||||
wrksrc="marisa-trie-${version}"
|
wrksrc="marisa-trie-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-Cython"
|
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"
|
distfiles="${PYPI_SITE}/m/marisa-trie/marisa-trie-${version}.tar.gz"
|
||||||
checksum=c73bc25d868e8c4ea7aa7f1e19892db07bba2463351269b05340ccfa06eb2baf
|
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() {
|
pre_build() {
|
||||||
rm -f src/marisa_trie.cpp
|
rm -f src/marisa_trie.cpp
|
||||||
cython src/*.pyx src/*.pxd --cplus
|
cython src/*.pyx src/*.pxd --cplus
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue