summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMikko Värri <vmj@linuxbox.fi>2010-08-22 19:16:04 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-23 00:53:50 -0500
commit3c745e283b04bc376d53e1bdd0acb93476f55fc7 (patch)
treef93709557bdbe925a878fd693eadd257dd7aaad3 /libraries
parentc13dc6dd3d31ed234b41ac07fa1ac20aaf102c1e (diff)
downloadslackbuilds-3c745e283b04bc376d53e1bdd0acb93476f55fc7.tar.gz
libraries/SQLObject: Updated for version 0.12.4.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/SQLObject/README3
-rw-r--r--libraries/SQLObject/SQLObject.SlackBuild11
-rw-r--r--libraries/SQLObject/SQLObject.info10
3 files changed, 12 insertions, 12 deletions
diff --git a/libraries/SQLObject/README b/libraries/SQLObject/README
index af1e00c8f0..a726dfb801 100644
--- a/libraries/SQLObject/README
+++ b/libraries/SQLObject/README
@@ -7,7 +7,8 @@ provides substantial database independence for applications.
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB
(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.
Following Python modules are needed for the actual databases: MySQLdb
diff --git a/libraries/SQLObject/SQLObject.SlackBuild b/libraries/SQLObject/SQLObject.SlackBuild
index 2f5015be74..942da7d8c6 100644
--- a/libraries/SQLObject/SQLObject.SlackBuild
+++ b/libraries/SQLObject/SQLObject.SlackBuild
@@ -2,20 +2,18 @@
# Slackware build script for SQLObject
-# Written by Mikko Varri (vmj@linuxbox.fi)
+# Written by Mikko Värri (vmj@linuxbox.fi)
# Public domain.
PRGNAM=SQLObject
-VERSION=${VERSION:-0.10.4}
+VERSION=${VERSION:-0.12.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -41,10 +39,11 @@ find . \
-exec chmod 644 {} \;
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 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
mkdir -p $PKG/install
diff --git a/libraries/SQLObject/SQLObject.info b/libraries/SQLObject/SQLObject.info
index f20fdc04c3..8642ffbf2a 100644
--- a/libraries/SQLObject/SQLObject.info
+++ b/libraries/SQLObject/SQLObject.info
@@ -1,10 +1,10 @@
PRGNAM="SQLObject"
-VERSION="0.10.4"
+VERSION="0.12.4"
HOMEPAGE="http://pypi.python.org/pypi/SQLObject/"
-DOWNLOAD="http://pypi.python.org/packages/source/S/SQLObject/SQLObject-0.10.4.tar.gz"
-MD5SUM="20039279c5b799c49e6496b9fe71f03f"
+DOWNLOAD="http://pypi.python.org/packages/source/S/SQLObject/SQLObject-0.12.4.tar.gz"
+MD5SUM="c7808ed1d86886eaed46797b92437df7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="Mikko Varri"
+MAINTAINER="Mikko Värri"
EMAIL="vmj@linuxbox.fi"
-APPROVED="rworkman"
+APPROVED="rworkman,Erik Hanson"