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.
This commit is contained in:
parent
ad2c912b4e
commit
39d88b3fe6
31
graphics/py-opengl/Makefile
Normal file
31
graphics/py-opengl/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/04 00:38:41 wcmaier Exp $
|
||||
|
||||
COMMENT = Python bindings for OpenGL
|
||||
MODPY_EGG_VERSION = 3.0.0
|
||||
DISTNAME = PyOpenGL-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-opengl-${MODPY_EGG_VERSION}
|
||||
WANTLIB = GL GLU
|
||||
|
||||
CATEGORIES = graphics
|
||||
HOMEPAGE = http://pyopengl.sourceforge.net/
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyopengl/}
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
USE_X11 = Yes
|
||||
REGRESS_IS_INTERACTIVE = X11
|
||||
|
||||
LIB_DEPENDS = glut.>=4::graphics/freeglut
|
||||
REGRESS_DEPENDS = ::devel/pygame \
|
||||
::graphics/py-opengl \
|
||||
::math/py-numpy
|
||||
|
||||
do-regress:
|
||||
${MODPY_BIN} ${WRKSRC}/tests/tests.py
|
||||
|
||||
.include <bsd.port.mk>
|
5
graphics/py-opengl/distinfo
Normal file
5
graphics/py-opengl/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (PyOpenGL-3.0.0.tar.gz) = qw/V+VuKqqazkCwjULXVwA==
|
||||
RMD160 (PyOpenGL-3.0.0.tar.gz) = FoAgcNJd57bjPM9xRYLGTrcr/jo=
|
||||
SHA1 (PyOpenGL-3.0.0.tar.gz) = U/8ZN1mwbaOGhWqYmhFGRQInQIk=
|
||||
SHA256 (PyOpenGL-3.0.0.tar.gz) = 92iWXT83JTlA+jpqxDnjF0F0DhLpAo/nogAsEgAnVqo=
|
||||
SIZE (PyOpenGL-3.0.0.tar.gz) = 638551
|
11
graphics/py-opengl/patches/patch-OpenGL___init___py
Normal file
11
graphics/py-opengl/patches/patch-OpenGL___init___py
Normal file
@ -0,0 +1,11 @@
|
||||
$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' )
|
13
graphics/py-opengl/pkg/DESCR
Normal file
13
graphics/py-opengl/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
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.
|
1589
graphics/py-opengl/pkg/PLIST
Normal file
1589
graphics/py-opengl/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user