diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-08-19 15:25:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-08-24 17:59:13 +0000 |
commit | 044229965d3a4bc4ab717eaa3458e12ee5a3776c (patch) | |
tree | 919fe0a23ca03a1bff02b67beddb1096d2972e70 | |
parent | d267a47f86c9b3b09211b5c3911431fb15608faf (diff) | |
download | ports-044229965d3a4bc4ab717eaa3458e12ee5a3776c.tar.gz ports-044229965d3a4bc4ab717eaa3458e12ee5a3776c.zip |
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
-rw-r--r-- | databases/py-peewee/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile index 96cee7bcc4ef..77edb22e30cf 100644 --- a/databases/py-peewee/Makefile +++ b/databases/py-peewee/Makefile @@ -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 |