mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue