1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

databases/py-peewee: force cythonization

Remove pregenerated cython .c files to force regeneration. This
fixes build with python 3.9+, with which pregenerated files are not
compatible.

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2021-08-19 18:25:18 +03:00
parent d267a47f86
commit 044229965d

View File

@ -25,6 +25,9 @@ PYDISTUTILS_BUILD_TARGET= build build_ext
PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include \
--library-dirs=${LOCALBASE}/lib
post-extract:
@${RM} ${WRKSRC}/playhouse/*.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/playhouse/*.so