#39196: py33-opengl-accelerate import level >=0 for python 3.3. ---------------------+------------------------------------ Reporter: mmoll@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: py33-opengl-accelerate ---------------------+------------------------------------ There is an incompatibility between python 3.3 and PyOpenGL-accelerate that is fortunately easy to fix. Attached is a patch. Without it, you get errors of this sort: {{{ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3 /site-packages/OpenGL/GL/__init__.py", line 3, in <module> from OpenGL.GL.VERSION.GL_1_1 import * File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3 /site-packages/OpenGL/GL/VERSION/GL_1_1.py", line 10, in <module> from OpenGL import platform, constants, constant, arrays File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3 /site-packages/OpenGL/arrays/__init__.py", line 19, in <module> from OpenGL.arrays.arraydatatype import * File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3 /site-packages/OpenGL/arrays/arraydatatype.py", line 14, in <module> from OpenGL_accelerate.arraydatatype import ArrayDatatype as ADT File "arraydatatype.pyx", line 1, in init OpenGL_accelerate.arraydatatype (src/arraydatatype.c:9315) File "wrapper.pyx", line 2, in init OpenGL_accelerate.wrapper (src/wrapper.c:10792) ValueError: level must be >= 0 }}} -- Ticket URL: <https://trac.macports.org/ticket/39196> MacPorts <http://www.macports.org/> Ports system for OS X