Mon Oct 21 13:19:29 2019 UTC ()
Fix building with Python 3.8


(adam)
diff -r1.13 -r1.14 pkgsrc/textproc/py-cElementTree/Makefile
diff -r1.27 -r1.28 pkgsrc/textproc/py-expat/Makefile

cvs diff -r1.13 -r1.14 pkgsrc/textproc/py-cElementTree/Makefile (expand / switch to context diff)
--- pkgsrc/textproc/py-cElementTree/Makefile 2016/08/28 15:48:35 1.13
+++ pkgsrc/textproc/py-cElementTree/Makefile 2019/10/21 13:19:29 1.14
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/08/28 15:48:35 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2019/10/21 13:19:29 adam Exp $
 
 PKGNAME=	${PYPKGPREFIX}-cElementTree-${PY_DISTVERSION}
 CATEGORIES=	textproc python
@@ -8,6 +8,10 @@
 COMMENT=	C implementation of Python ElementTree API
 
 EXTRACT_ELEMENTS=	${PYSUBDIR}/Modules/_elementtree.c
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} != 27
+EXTRACT_ELEMENTS+=	${PYSUBDIR}/Modules/clinic/_elementtree.c.h
+.endif
 
 USE_GCC_RUNTIME=yes
 USE_TOOLS+=	patch

cvs diff -r1.27 -r1.28 pkgsrc/textproc/py-expat/Makefile (expand / switch to context diff)
--- pkgsrc/textproc/py-expat/Makefile 2019/10/17 11:52:49 1.27
+++ pkgsrc/textproc/py-expat/Makefile 2019/10/21 13:19:29 1.28
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2019/10/17 11:52:49 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/10/21 13:19:29 adam Exp $
 
 PKGNAME=	${PYPKGPREFIX}-expat-${PY_DISTVERSION}
 CATEGORIES=	textproc python
@@ -8,7 +8,7 @@
 COMMENT=	Python interface to expat
 
 EXTRACT_ELEMENTS=	${PYSUBDIR}/Modules/pyexpat.c
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} != 27
 EXTRACT_ELEMENTS+=	${PYSUBDIR}/Modules/clinic/pyexpat.c.h
 .endif