pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-peewee py-peewee: fix building with Pytho...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/096e7b5d9b36
branches:  trunk
changeset: 443800:096e7b5d9b36
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Dec 23 08:07:59 2020 +0000

description:
py-peewee: fix building with Python 3.9

diffstat:

 databases/py-peewee/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r eabaac46f81c -r 096e7b5d9b36 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Wed Dec 23 05:39:47 2020 +0000
+++ b/databases/py-peewee/Makefile      Wed Dec 23 08:07:59 2020 +0000
@@ -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 @@
 
 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