pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/py-peewee



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Dec 23 08:07:59 UTC 2020

Modified Files:
        pkgsrc/databases/py-peewee: Makefile

Log Message:
py-peewee: fix building with Python 3.9


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/databases/py-peewee/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-peewee/Makefile
diff -u pkgsrc/databases/py-peewee/Makefile:1.70 pkgsrc/databases/py-peewee/Makefile:1.71
--- pkgsrc/databases/py-peewee/Makefile:1.70    Mon Nov  9 09:29:12 2020
+++ pkgsrc/databases/py-peewee/Makefile Wed Dec 23 08:07:59 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2020/11/09 09:29:12 adam Exp $
+# $NetBSD: Makefile,v 1.71 2020/12/23 08:07:59 adam Exp $
 
 DISTNAME=      peewee-3.14.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -28,6 +28,10 @@ SUBST_VARS.lpath=    BUILDLINK_PREFIX.sqlit
 
 INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
 
+# Let Cython re-generate these files. Fixes build with Python 3.9.
+pre-configure:
+       ${RM} ${WRKSRC}/playhouse/_sqlite_ext.c ${WRKSRC}/playhouse/_sqlite_udf.c
+
 post-build:
        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
 



Home | Main Index | Thread Index | Old Index