diff --git a/srcpkgs/python3-snakeoil/template b/srcpkgs/python3-snakeoil/template index eaa5945aae9..f547107ebec 100644 --- a/srcpkgs/python3-snakeoil/template +++ b/srcpkgs/python3-snakeoil/template @@ -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) }