Thu Jan 27 08:35:29 2022 UTC ()
py-OpenGL-accelerate: run cython before building

This fixes the build with python 3.10


(wiz)
diff -r1.6 -r1.7 pkgsrc/graphics/py-OpenGL-accelerate/Makefile

cvs diff -r1.6 -r1.7 pkgsrc/graphics/py-OpenGL-accelerate/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/py-OpenGL-accelerate/Makefile 2022/01/04 20:54:03 1.6
+++ pkgsrc/graphics/py-OpenGL-accelerate/Makefile 2022/01/27 08:35:28 1.7
@@ -1,19 +1,22 @@ @@ -1,19 +1,22 @@
1# $NetBSD: Makefile,v 1.6 2022/01/04 20:54:03 wiz Exp $ 1# $NetBSD: Makefile,v 1.7 2022/01/27 08:35:28 wiz Exp $
2 2
3DISTNAME= PyOpenGL-accelerate-3.1.5 3DISTNAME= PyOpenGL-accelerate-3.1.5
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^Py//} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^Py//}
5PKGREVISION= 2 5PKGREVISION= 2
6CATEGORIES= graphics python 6CATEGORIES= graphics python
7MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyOpenGL-accelerate/} 7MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyOpenGL-accelerate/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://pyopengl.sourceforge.net/ 10HOMEPAGE= http://pyopengl.sourceforge.net/
11COMMENT= Acceleration code for PyOpenGL 11COMMENT= Acceleration code for PyOpenGL
12# There are many similar licenses, see license.txt 12# There are many similar licenses, see license.txt
13LICENSE= modified-bsd AND mit 13LICENSE= modified-bsd AND mit
14 14
15PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-numpy 15PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-numpy
16 16
 17pre-build:
 18 cd ${WRKSRC}/src && for i in *.pyx; do cython-${PYVERSSUFFIX} $$i; done
 19
17.include "../../lang/python/egg.mk" 20.include "../../lang/python/egg.mk"
18.include "../../math/py-numpy/buildlink3.mk" 21.include "../../math/py-numpy/buildlink3.mk"
19.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"