pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-OpenGL-accelerate py-OpenGL-accelerate: ru...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20e67eeff18c
branches:  trunk
changeset: 372554:20e67eeff18c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 27 08:35:28 2022 +0000

description:
py-OpenGL-accelerate: run cython before building

This fixes the build with python 3.10

diffstat:

 graphics/py-OpenGL-accelerate/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b831e1d6bf52 -r 20e67eeff18c graphics/py-OpenGL-accelerate/Makefile
--- a/graphics/py-OpenGL-accelerate/Makefile    Thu Jan 27 08:34:19 2022 +0000
+++ b/graphics/py-OpenGL-accelerate/Makefile    Thu Jan 27 08:35:28 2022 +0000
@@ -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 @@
 
 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