summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authordarcy <darcy>2000-11-16 04:37:54 +0000
committerdarcy <darcy>2000-11-16 04:37:54 +0000
commit55486e018be1ff3b045bd1561d6d1c501301d7d7 (patch)
tree32d4acdd1175fa59362aa6e167d1f4b5159a1a99 /databases
parentd90932eede2d09b393bf98d6ba5b20e109aac1fe (diff)
downloadpkgsrc-55486e018be1ff3b045bd1561d6d1c501301d7d7.tar.gz
Upgrade to version 3.1.
This release fixes a few bugs, adds a few minor features and makes a few speedups in the code. Important changes from PyGreSQL 3.0 to PyGreSQL 3.1 - Fix some quoting functions. In particular handle NULLs better. - Use a method to add primary key information rather than direct manipulation of the class structures. - Break decimal out in _quote (in pg.py) and treat it as float. - Treat timestamp like date for quoting purposes. - Remove a redundant SELECT from the get method speeding it, and insert since it calls get, up a little. - Add test for BOOL type in typecast method to pgdbTypeCache class. (tv@beamnet.de) - Fix pgdb.py to send port as integer to lower level function (dildog@l0pht.com) - Change pg.py to speed up some operations - Allow updates on tables with no primary keys.
Diffstat (limited to 'databases')
-rw-r--r--databases/py-postgresql/Makefile8
-rw-r--r--databases/py-postgresql/files/md54
-rw-r--r--databases/py-postgresql/pkg/DESCR2
-rw-r--r--databases/py-postgresql/pkg/PLIST3
4 files changed, 9 insertions, 8 deletions
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
index 6b142d1c29e..307dc9b87b2 100644
--- a/databases/py-postgresql/Makefile
+++ b/databases/py-postgresql/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2000/08/19 20:59:58 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2000/11/16 04:37:54 darcy Exp $
-DISTNAME= PyGreSQL-3.0
-PKGNAME= py-postgresql-3.0
+DISTNAME= PyGreSQL-3.1
+PKGNAME= py-postgresql-3.1
CATEGORIES= databases
MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
EXTRACT_SUFX= .tgz
@@ -11,7 +11,7 @@ HOMEPAGE= http://www.druid.net/pygresql/
DEPENDS+= python-1.5.2:../../lang/python
DEPENDS+= postgresql-7.*:../../databases/postgresql
-DEPENDS+= py-mxDateTime-1.3.0:../../misc/py-mxDateTime
+DEPENDS+= py-mxDateTime-*:../../misc/py-mxDateTime
ALL_TARGET= default
diff --git a/databases/py-postgresql/files/md5 b/databases/py-postgresql/files/md5
index e7879eb9318..cbd65861733 100644
--- a/databases/py-postgresql/files/md5
+++ b/databases/py-postgresql/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.2 2000/07/03 14:10:35 darcy Exp $
+$NetBSD: md5,v 1.3 2000/11/16 04:37:55 darcy Exp $
-MD5 (PyGreSQL-3.0.tgz) = 3f67b76d6cfece4ac21eee1a9154a206
+MD5 (PyGreSQL-3.1.tgz) = 6c7cef080d3c3b732ff7090dc9e051c1
diff --git a/databases/py-postgresql/pkg/DESCR b/databases/py-postgresql/pkg/DESCR
index de843e6afb3..521ee7a7337 100644
--- a/databases/py-postgresql/pkg/DESCR
+++ b/databases/py-postgresql/pkg/DESCR
@@ -1,6 +1,6 @@
PyGreSQL - v3.0: PostgreSQL module for Python
- PyGreSQL, version 3.0
+ PyGreSQL, version 3.1
A Python interface for PostgreSQL database.
Written by D'Arcy J.M. Cain, darcy@druid.net
Based heavily on code written by Pascal Andre, andre@chimay.via.ecp.fr.
diff --git a/databases/py-postgresql/pkg/PLIST b/databases/py-postgresql/pkg/PLIST
index e9967b15ef2..d03a820a256 100644
--- a/databases/py-postgresql/pkg/PLIST
+++ b/databases/py-postgresql/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2000/08/19 21:05:01 hubertf Exp $
+@comment $NetBSD: PLIST,v 1.4 2000/11/16 04:37:55 darcy Exp $
${PYTHON_LIBDIR}/site-packages/_pgmodule.so
${PYTHON_LIBDIR}/site-packages/pg.py
${PYTHON_LIBDIR}/site-packages/pg.pyc
@@ -10,6 +10,7 @@ share/doc/py-postgresql/README
share/doc/py-postgresql/tutorial/advanced.py
share/doc/py-postgresql/tutorial/basics.py
share/doc/py-postgresql/tutorial/func.py
+share/doc/py-postgresql/tutorial/pgtools.py
share/doc/py-postgresql/tutorial/syscat.py
@dirrm share/doc/py-postgresql/tutorial
@dirrm share/doc/py-postgresql