summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-12-23 08:07:59 +0000
committeradam <adam@pkgsrc.org>2020-12-23 08:07:59 +0000
commit7bfe907b9758ec045b97039a6612cbedfc65fb60 (patch)
treee01fe08ca49676d5c84a9634430e4cdee26b65ce /databases
parent25e8139068abceb0f5c283c4d453e239db700a6c (diff)
downloadpkgsrc-7bfe907b9758ec045b97039a6612cbedfc65fb60.tar.gz
py-peewee: fix building with Python 3.9
Diffstat (limited to 'databases')
-rw-r--r--databases/py-peewee/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/py-peewee/Makefile b/databases/py-peewee/Makefile
index f979b784d92..9f9e1085f58 100644
--- a/databases/py-peewee/Makefile
+++ b/databases/py-peewee/Makefile
@@ -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.sqlite3
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