development/PyOpenGL: Updated for version 3.0.0a5

This commit is contained in:
hollywoodb 2010-05-11 19:44:11 +02:00 committed by Robby Workman
parent 4a2754743b
commit 0746f5ee03
4 changed files with 19 additions and 15 deletions

View File

@ -7,19 +7,14 @@
## so that I don't recieve emails about a script I
## did not write. Thanks.
# Modified slightly by the SlackBuilds.org project
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root!"
exit
fi
# Modified by the SlackBuilds.org project
NAME=PyOpenGL
VERSION=3.0.0a5
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=`pwd`
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$NAME}
OUTPUT=${OUTPUT:-/tmp}
@ -36,8 +31,10 @@ chmod -R u+w,go+r-w,a-s .
python setup.py bdist || exit 1
tar -C $PKG -zxvf $TMP/$NAME-$VERSION/dist/$NAME-$VERSION.linux-i686.tar.gz
find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$NAME-$VERSION
install -m 0644 PKG-INFO documentation/{development,using}.html \

View File

@ -5,4 +5,4 @@ DOWNLOAD="http://dl.sourceforge.net/pyopengl/PyOpenGL-3.0.0a5.tar.gz"
MD5SUM="943c4d7d3d1d97cc7592e61d28918fd2"
MAINTAINER="hollywoodb"
EMAIL="hollywoodb@fastmail.fm"
APPROVED="robw810"
APPROVED="rworkman"

View File

@ -9,5 +9,4 @@ 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).
Requirements: >=pysetuptool-0.6 (setuptools) -- build requirement only
Requirements: pysetuptools (setuptools) -- build requirement only

View File

@ -1,11 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
PyOpenGL: PyOpenGL (cross-platform Python<->OpenGL bindings)
PyOpenGL:
PyOpenGL: PyOpenGL is the cross platform Python binding to OpenGL and related
PyOpenGL: APIs. The binding is created using the SWIG wrapper generator, and is
PyOpenGL: APIs. The binding is created using the SWIG wrapper generator, and is
PyOpenGL: provided under an extremely liberal BSD-style Open-Source license.
PyOpenGL: PyOpenGL includes support for OpenGL v1.1, GLU, GLUT v3.7, GLE 3,
PyOpenGL: WGL 4, and Togl (Tk OpenGL widget) 1.6. It also includes support for
PyOpenGL: dozens of extensions (where supported in the underlying implementation).
PyOpenGL:
PyOpenGL: dozens of extensions (where supported in the underlying implementa-
PyOpenGL: tion).
PyOpenGL:
PyOpenGL: