From b819fa122570311e2a5cd66394b694efd42ad600 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 7 Oct 2020 09:55:48 -0400 Subject: [PATCH] python3-marisa-trie: rebuild for Python 3.9 --- srcpkgs/python3-marisa-trie/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-marisa-trie/template b/srcpkgs/python3-marisa-trie/template index ab26456bd5b..288e5650df1 100644 --- a/srcpkgs/python3-marisa-trie/template +++ b/srcpkgs/python3-marisa-trie/template @@ -1,10 +1,10 @@ # Template file for 'python3-marisa-trie' pkgname=python3-marisa-trie version=0.7.5 -revision=4 +revision=5 wrksrc="marisa-trie-${version}" build_style=python3-module -hostmakedepends="python3-setuptools" +hostmakedepends="python3-setuptools python3-Cython" makedepends="python3-devel" short_desc="Static memory-efficient Trie-like structures (Python3)" maintainer="bra1nwave " @@ -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 +pre_build() { + rm -f src/marisa_trie.cpp + cython src/*.pyx src/*.pxd --cplus +} + post_install() { vlicense LICENSE }