python3-snakeoil: regenerate Cython

This commit is contained in:
Đoàn Trần Công Danh 2022-09-23 19:06:53 +07:00
parent 29476ef8e1
commit f5788bbe97
1 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,7 @@ version=0.8.8
revision=3
wrksrc="snakeoil-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3"
short_desc="Python3 optimized versions of common python functionality"
@ -15,6 +15,13 @@ homepage="https://github.com/pkgcore/snakeoil"
distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
checksum=8381ed730cb4c127c2cb5f99ed8a148d3f2bc492de21f035aae8913f7a106d63
post_extract() {
local _f
for _f in src/snakeoil/*.pyx; do
rm -f ${_f%.pyx}.c
done
}
pre_check() {
export PYTHONPATH=$(cd build/lib* && pwd)
}