From f5788bbe97527d959275129ea2e2ab3ce8181127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 23 Sep 2022 19:06:53 +0700 Subject: [PATCH] python3-snakeoil: regenerate Cython --- srcpkgs/python3-snakeoil/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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) }