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:
parent
d267a47f86
commit
044229965d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user