pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/py-OpenGL-accelerate



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 27 08:35:29 UTC 2022

Modified Files:
        pkgsrc/graphics/py-OpenGL-accelerate: Makefile

Log Message:
py-OpenGL-accelerate: run cython before building

This fixes the build with python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/graphics/py-OpenGL-accelerate/Makefile

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

Modified files:

Index: pkgsrc/graphics/py-OpenGL-accelerate/Makefile
diff -u pkgsrc/graphics/py-OpenGL-accelerate/Makefile:1.6 pkgsrc/graphics/py-OpenGL-accelerate/Makefile:1.7
--- pkgsrc/graphics/py-OpenGL-accelerate/Makefile:1.6   Tue Jan  4 20:54:03 2022
+++ pkgsrc/graphics/py-OpenGL-accelerate/Makefile       Thu Jan 27 08:35:28 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:54:03 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/27 08:35:28 wiz Exp $
 
 DISTNAME=      PyOpenGL-accelerate-3.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^Py//}
@@ -14,6 +14,9 @@ LICENSE=      modified-bsd AND mit
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-numpy
 
+pre-build:
+       cd ${WRKSRC}/src && for i in *.pyx; do cython-${PYVERSSUFFIX} $$i; done
+
 .include "../../lang/python/egg.mk"
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index