Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2021 18:04:57 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 044229965d3a - main - databases/py-peewee: force cythonization
Message-ID:  <202108241804.17OI4vfS095746@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=044229965d3a4bc4ab717eaa3458e12ee5a3776c

commit 044229965d3a4bc4ab717eaa3458e12ee5a3776c
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-08-19 15:25:18 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-08-24 17:59:13 +0000

    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
---
 databases/py-peewee/Makefile | 3 +++
 1 file changed, 3 insertions(+)

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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108241804.17OI4vfS095746>