openbsd-ports/graphics/py-opengl/patches/patch-OpenGL___init___py
wcmaier 39d88b3fe6 Import graphics/py-opengl (tested and requested by matthieu@):
PyOpenGL is the cross platform Python binding to OpenGL and related
APIs.  The binding is created using the standard (in Python 2.5 and
above) ctypes library, and is provided under an extremely liberal
BSD-style Open-Source license.

PyOpenGL includes support for OpenGL v1.1 through 3.0, GLU, GLUT v3.7
(and FreeGLUT), and GLE 3.  It also includes support for hundreds of
OpenGL extensions.

PyOpenGL is interoperable with a large number of external GUI libraries
for Python including (wxPython, FxPy, PyGame, and Qt).  It can be used
with the Tkinter GUI library if you have installed the Togl widget for
Tk.
2009-06-04 00:38:41 +00:00

12 lines
640 B
Plaintext

$OpenBSD: patch-OpenGL___init___py,v 1.1.1.1 2009/06/04 00:38:43 wcmaier Exp $
--- OpenGL/__init__.py.orig Tue Jun 2 22:57:27 2009
+++ OpenGL/__init__.py Tue Jun 2 22:57:21 2009
@@ -115,6 +115,7 @@ from OpenGL.plugins import PlatformPlugin, FormatHandl
PlatformPlugin( 'nt', 'OpenGL.platform.win32.Win32Platform' )
PlatformPlugin( 'posix ', 'OpenGL.platform.glx.GLXPlatform' )
PlatformPlugin( 'linux2', 'OpenGL.platform.glx.GLXPlatform' )
+PlatformPlugin( 'openbsd4', 'OpenGL.platform.glx.GLXPlatform' )
PlatformPlugin( 'darwin', 'OpenGL.platform.darwin.DarwinPlatform' )
FormatHandler( 'none', 'OpenGL.arrays.nones.NoneHandler' )