python3-marisa-trie: rebuild for Python 3.9
This commit is contained in:
parent
938cbb7586
commit
b819fa1225
1 changed files with 7 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
# 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=4
|
revision=5
|
||||||
wrksrc="marisa-trie-${version}"
|
wrksrc="marisa-trie-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools python3-Cython"
|
||||||
makedepends="python3-devel"
|
makedepends="python3-devel"
|
||||||
short_desc="Static memory-efficient Trie-like structures (Python3)"
|
short_desc="Static memory-efficient Trie-like structures (Python3)"
|
||||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
rm -f src/marisa_trie.cpp
|
||||||
|
cython src/*.pyx src/*.pxd --cplus
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue