libraries/SQLObject: Updated for version 0.12.4.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Mikko Värri 2010-08-22 19:16:04 -05:00 committed by Erik Hanson
parent c13dc6dd3d
commit 3c745e283b
3 changed files with 12 additions and 12 deletions

View file

@ -7,7 +7,8 @@ provides substantial database independence for applications.
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB
(SAPDB). (SAPDB).
NOTE: Requires pysetuptools and FormEncode This requires pysetuptools and FormEncode. Also, docutils, if installed,
is used to build html docs at build time, but that is optional.
NOTE: SQLObject checks for supported databases at run time. NOTE: SQLObject checks for supported databases at run time.
Following Python modules are needed for the actual databases: MySQLdb Following Python modules are needed for the actual databases: MySQLdb

View file

@ -2,20 +2,18 @@
# Slackware build script for SQLObject # Slackware build script for SQLObject
# Written by Mikko Varri (vmj@linuxbox.fi) # Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain. # Public domain.
PRGNAM=SQLObject PRGNAM=SQLObject
VERSION=${VERSION:-0.10.4} VERSION=${VERSION:-0.12.4}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -41,10 +39,11 @@ find . \
-exec chmod 644 {} \; -exec chmod 644 {} \;
python setup.py install --root=$PKG python setup.py install --root=$PKG
( cd docs && ./rebuild ) || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/docs
cp -a PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION cp -a PKG-INFO README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/*.{txt,html} $PKG/usr/doc/$PRGNAM-$VERSION/docs/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="SQLObject" PRGNAM="SQLObject"
VERSION="0.10.4" VERSION="0.12.4"
HOMEPAGE="http://pypi.python.org/pypi/SQLObject/" HOMEPAGE="http://pypi.python.org/pypi/SQLObject/"
DOWNLOAD="http://pypi.python.org/packages/source/S/SQLObject/SQLObject-0.10.4.tar.gz" DOWNLOAD="http://pypi.python.org/packages/source/S/SQLObject/SQLObject-0.12.4.tar.gz"
MD5SUM="20039279c5b799c49e6496b9fe71f03f" MD5SUM="c7808ed1d86886eaed46797b92437df7"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Mikko Varri" MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi" EMAIL="vmj@linuxbox.fi"
APPROVED="rworkman" APPROVED="rworkman,Erik Hanson"