Date: Sun, 20 Dec 2015 23:44:07 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-feedback requested: [Bug 205472] [PATCH] graphics/py-opengl: update to 3.1.0 Message-ID: <bug-205472-21822-bHma99Pki6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-205472-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-205472-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
matthew@reztek.cz has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to FreeBSD Python <python@FreeBSD.org>: Bug 205472: [PATCH] graphics/py-opengl: update to 3.1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205472 --- Description --- Created attachment 164437 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164437&action=edit update py-opengl and py-opengl-accelerate to 3.1.0 The version of PyOpenGL currently in ports (3.0.1) seems broken, it blows up when something merely tries to import it. Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/xpra/client/gl/gl_check.py", line 528, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/site-packages/xpra/client/gl/gl_check.py", line 509, in main props = check_support(True, verbose) File "/usr/local/lib/python2.7/site-packages/xpra/client/gl/gl_check.py", line 468, in check_support gl_props = check_GL_support(glarea, force_enable) File "/usr/local/lib/python2.7/site-packages/xpra/client/gl/gl_check.py", line 163, in check_GL_support return do_check_GL_support(force_enable) File "/usr/local/lib/python2.7/site-packages/xpra/client/gl/gl_check.py", line 185, in do_check_GL_support from OpenGL.GL import GL_VERSION, GL_EXTENSIONS File "/usr/local/lib/python2.7/site-packages/OpenGL/GL/__init__.py", line 17, in <module> from OpenGL.GL.VERSION.GL_3_0 import * File "/usr/local/lib/python2.7/site-packages/OpenGL/GL/VERSION/GL_3_0.py", line 14, in <module> from OpenGL.raw.GL.VERSION.GL_3_0 import * File "/usr/local/lib/python2.7/site-packages/OpenGL/raw/GL/VERSION/GL_3_0.py", line 690, in <module> deprecated=_DEPRECATED, File "/usr/local/lib/python2.7/site-packages/OpenGL/platform/baseplatform.py", line 188, in createBaseFunction extension = extension, File "/usr/local/lib/python2.7/site-packages/OpenGL/platform/baseplatform.py", line 126, in constructFunction *argTypes File "/usr/local/lib/python2.7/ctypes/__init__.py", line 104, in CFUNCTYPE class CFunctionType(_CFuncPtr): TypeError: Error when calling the metaclass bases _restype_ must be a type, a callable, or None Updating PyOpenGL to the current version (3.1.0) resolves the problem. The attached port updated both py-opengl and py-opengl-accelerate to 3.1.0.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205472-21822-bHma99Pki6>