aboutsummaryrefslogtreecommitdiff
path: root/libraries/SQLObject
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/SQLObject')
-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 af1e00c8f0e4..a726dfb801f7 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 2f5015be7479..942da7d8c6fb 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 f20fdc04c363..8642ffbf2acf 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"