From 2808e9ddd781fe4c17d85fe0e4d6ffdc372835de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 22 Sep 2022 23:07:52 +0700 Subject: [PATCH] python3-pygame: regenerate cython binding --- srcpkgs/python3-pygame/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/python3-pygame/template b/srcpkgs/python3-pygame/template index ec00d18a784..6bb6448fe80 100644 --- a/srcpkgs/python3-pygame/template +++ b/srcpkgs/python3-pygame/template @@ -18,3 +18,9 @@ distfiles="${PYPI_SITE}/p/pygame/pygame-${version}.tar.gz" checksum=8b1e7b63f47aafcdd8849933b206778747ef1802bd3d526aca45ed77141e4001 export PORTMIDI_INC_PORTTIME=1 + +post_extract() { + find src_c/cython/pygame -name '*.pyx' | + sed 's,cython/pygame/,,;s/pyx$/c/' | + xargs rm -f +}