From 1cc45bd25a8e1b4f37d4fc8c146147ea96d4f376 Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Thu, 13 May 2010 00:25:19 +0200 Subject: development/pydblite: Updated for version 2.4 --- development/pydblite/README | 11 +- development/pydblite/index.html | 207 ------------------------------- development/pydblite/index_fr.html | 148 ---------------------- development/pydblite/pydblite.SlackBuild | 10 +- development/pydblite/pydblite.info | 10 +- development/pydblite/slack-desc | 10 +- 6 files changed, 21 insertions(+), 375 deletions(-) delete mode 100644 development/pydblite/index.html delete mode 100644 development/pydblite/index_fr.html (limited to 'development') diff --git a/development/pydblite/README b/development/pydblite/README index 1038a7032a..3224e2de38 100644 --- a/development/pydblite/README +++ b/development/pydblite/README @@ -1,9 +1,8 @@ PyDbLite (small footprint untyped database engine in python) -PyDbLite is a pure-Python in-memory database engine, using -Python list comprehensions as query language instead of SQL, -which stores data in a cPickled file. +PyDbLite is a pure-Python in-memory database engine, using Python list +comprehensions as query language instead of SQL, which stores data in a +cPickled file. -You can also use PyDbLite with MySQL and SQLite, as backends. -In order to use MySQL's adapter you will need MySQL-python -(available on SlackBuilds.org). +You can also use PyDbLite with MySQL and SQLite, as backends. In order to +use MySQL's adapter you will need MySQL-python (available on SlackBuilds.org). diff --git a/development/pydblite/index.html b/development/pydblite/index.html deleted file mode 100644 index a7a7ccc6ca..0000000000 --- a/development/pydblite/index.html +++ /dev/null @@ -1,207 +0,0 @@ - - - -PyDbLite - - - - - - - - -
-

PyDbLite is a pure-Python in-memory database engine, using Python list -comprehensions as query language, instead of SQL - -

It consists of one small module, PyDbLite.py. The package also provides two modules, -SQLite.py and MySQL.py. They use SQLite and MySQL backends with the -same Pythonic syntax as the pure-Python PyDbLite engine - -

To install the package, just download -it and install it by running >python setup.py install - -

Pure-Python engine

- - - -

SQLite adapter

-

The only difference with the pure-Python module is the syntax to identify a Base and the need to specify field types on base creation -

-

For record insertion, selection, update and deletion, the syntax is the same as above. The only difference is that you can't use the drop_field() method, since dropping fields is not supported by SQLite -

The Base instance has an attribute cursor, so you can also execute -SQL expressions by db.cursor.execute(some_sql) and get the result -by results = db.cursor.fetchall() - -

MySQL adapter

-

The only difference with the pure-Python module is the syntax to identify a Base and the need to specify field types on base creation -

- -

For record insertion, selection, update and deletion, adding or dropping fields, -the syntax is the same as above -

The Base instance has an attribute cursor, so you can also execute -SQL expressions by db.cursor.execute(some_sql) and get the result -by results = db.cursor.fetchall() - - - - \ No newline at end of file diff --git a/development/pydblite/index_fr.html b/development/pydblite/index_fr.html deleted file mode 100644 index 112dabc8ff..0000000000 --- a/development/pydblite/index_fr.html +++ /dev/null @@ -1,148 +0,0 @@ - - - -PyDbLite - - - - - - - - -
English
-

PyDbLite est un moteur de base de données en mémoire, en pur Python, qui utilise les "list comprehensions" de Python comme langage de requêtes au lieu de SQL - -

Il consiste en un seul petit module, PyDbLite.py. Pour l'installer, il suffit de le télécharger et de le mettre dans le répertoire Lib/site-packages de votre distribution Python - -

Utilisation : - -

- - - \ No newline at end of file diff --git a/development/pydblite/pydblite.SlackBuild b/development/pydblite/pydblite.SlackBuild index b8acc776d4..052ebf3c84 100644 --- a/development/pydblite/pydblite.SlackBuild +++ b/development/pydblite/pydblite.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pydblite -# Copyright 2007-8-9 LukenShiro +# Copyright 2007-2009 LukenShiro # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pydblite -VERSION=${VERSION:-2.3} -ARCH=noarch +VERSION=${VERSION:-2.4} +ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRC_PRGNAM=PyDbLite -DOCFILES="PKG-INFO $CWD/index.html $CWD/index_fr.html" +DOCFILES="PKG-INFO README.txt PyDbLite/doc/*.html" # SLKCFLAGS are not used @@ -61,4 +61,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/pydblite/pydblite.info b/development/pydblite/pydblite.info index 9957500047..5259b58c80 100644 --- a/development/pydblite/pydblite.info +++ b/development/pydblite/pydblite.info @@ -1,8 +1,10 @@ PRGNAM="pydblite" -VERSION="2.3" +VERSION="2.4" HOMEPAGE="http://pydblite.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/pydblite/PyDbLite-2.3.zip" -MD5SUM="b0bd2216f3667dced29f71dc879e18cb" +DOWNLOAD="http://downloads.sourceforge.net/pydblite/PyDbLite-2.4.zip" +MD5SUM="deb3af4fdb682a6e923365f7d7496d13" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" -APPROVED="dsomero" +APPROVED="rworkman" diff --git a/development/pydblite/slack-desc b/development/pydblite/slack-desc index f67cc73aa8..5a2e5392ae 100644 --- a/development/pydblite/slack-desc +++ b/development/pydblite/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| pydblite: PyDbLite (small footprint untyped database engine in python) -pydblite: +pydblite: pydblite: PyDbLite is a pure-Python in-memory database engine, using pydblite: Python list comprehensions as query language instead of SQL, pydblite: which stores data in a cPickled file. -pydblite: +pydblite: pydblite: It is written by Pierre Quentel and released under BSD license. -pydblite: -pydblite: +pydblite: pydblite: Homepage: http://pydblite.sourceforge.net -pydblite: +pydblite: +pydblite: -- cgit v1.2.3