Info2: << Package: opengl%type_pkg[-nox]-py%type_pkg[python] Version: 3.0.2 Revision: 1 Type: -nox (boolean), python (2.7) BuildDepends: << fink (>= 0.24.12), swig (>= 1.3.20), (%type_raw[-nox] = .) freeglut, (%type_raw[-nox] = .) tcltk-dev (>= 8.4), (%type_raw[-nox] = .) x11-dev << Depends: << python%type_pkg[python], numpy-py%type_pkg[python], (%type_raw[-nox] = -nox) macosx, (%type_raw[-nox] = .) freeglut-shlibs, (%type_raw[-nox] = .) tcltk (>= 8.4), (%type_raw[-nox] = .) x11 << Conflicts: opengl-py%type_pkg[python], opengl-nox-py%type_pkg[python] Replaces: opengl-py%type_pkg[python], opengl-nox-py%type_pkg[python] Maintainer: Martin Costabel HomePage: http://pyopengl.sourceforge.net/ #Source: mirror:sourceforge:pyopengl/PyOpenGL-%v.tar.gz Source: https://pypi.python.org/packages/source/P/PyOpenGL/PyOpenGL-%v.tar.gz Source-MD5: 77becc24ffc0a6b28030aa109ad7ff8b License: OSI-Approved Description: Python binding to OpenGL DescDetail: << PyOpenGL is the cross platform Python binding to OpenGL and related APIs. The binding is created using the SWIG wrapper generator, and is provided under an extremely liberal BSD-style Open-Source license. PyOpenGL includes support for OpenGL v1.1, GLU, GLUT v3.7, GLE 3, WGL 4, and Togl (Tk OpenGL widget) 1.6. It also includes support for dozens of extensions (where supported in the underlying implementation). PyOpenGL is interoperable with a large number of external GUI libraries for Python including (Tkinter, wxPython, FxPy, PyGame, and Qt). << DescPackaging: << To build the -nox packages, Apple's OpenGL SDK must be installed. Togl (which requires GLX) is only built for the X11-enabled packages. << SetLDFLAGS: -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib PatchFile: %{ni}.patch PatchFile-MD5: 0693832a4d1f639468c5d3548cd92dd2 PatchScript: << #!/bin/bash -ev tclver=`echo 'puts $tcl_version' | %p/bin/tclsh` # sed -e "s|@@FINKPREFIX@@|%p|g" <%{PatchFile} | \ # sed -e "s|@@TCL_VER@@|$tclver|g" | patch -p1 perl -pi -e 's|arrayobject.h|ufuncobject.h|g' setup/dist.py << CompileScript: << #!/bin/bash -ev # if [ "%type_raw[-nox]" == "." ]; then # mv config/darwin-x11.cfg config/darwin.cfg # fi %p/bin/python%type_raw[python] setup.py build # if [ "%type_raw[-nox]" == "." ]; then # tclver=`echo 'puts $tcl_version' | %p/bin/tclsh` # ( cd src/Togl-1.6 && make ) || exit 1 # cp src/Togl-1.6/togl.so build/Togl-1.6-tk${tclver}/ # fi << InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d << DocFiles: license.txt <<