From d09a693eb9d10e8fc57234f33717b10c73a411f5 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 11 Nov 2005 23:10:19 +0000 Subject: Update psycopg to 1.1.21. Allow building with Python 2.4. From NEWS: psycopg news for 1.1.20 ----------------------- * Fixed problem with wrongly applied infinity patch in 1.1.20. * Fixed build problem in win32 when using Makefile.msvc. psycopg news for 1.1.20 ----------------------- * Fixed the date/time/timestamp formatting problem introduced by 1.1.19. * Fixed build problem in win32 when using Makefile.msvc. psycopg news for 1.1.19 ----------------------- * Now ZPsycopgDA does not loose the connection and raise an error is PostgreSQL is restarted but tries to rconnect and execute the issue query again (patch from Jonathan Stoneman.) * Fixed precision and scale in cursor.description for numeric types. * The XXXFromMx() functions don't truncate fractional seconds anymore (but note that mx.DateTime uses floating point seconds so rounding errors may creep in anyway.) * Fixed two segfaults: when multithreading; patch from James Henstridge and when calling dictfetchone() without results. psycopg news for 1.1.18 ----------------------- * Fixed mktime() overflow in ZPsycopgDA. psycopg news for 1.1.17 ----------------------- * ZPsycopgDA can now return unicode strings on request. * Fixed problem with timestamps in ZPsycopgDA. psycopg news for 1.1.16 ----------------------- * fixed .rowcount problem introduced in 1.1.15. * fixed a problem with %% not being transformed into % when calling .execute() with a zero-length tuple or dict. * now using COPY FROM/COPY TO in .execute() raise an exception instead of segfaulting. * faster Date and DateTime type casting. * small and trivial optimizations and fixes. psycopg news for 1.1.15 ----------------------- * Interval typecasting eventually-eventually works the Right Way (TM). * Fixed two bad memory leaks in QuotedString and Binary objects. * Reverted change on rowcount attribute, now it is always set to the real number of affected columns. psycopg news for 1.1.14 ----------------------- * Interval typecasting eventually works the Right Way (TM). * ZPsycopgDA now support unicode strings and different backend encodings. * ZPsycopgDA accept query data as an extra parameter to execute() (but still no way to give it extra data from inside a ZSQL Method.) * Better DBAPI-2.0 compliance (rowcount attribute and argument passing.) * Now builds on Fedora Core 2 (but remember that the real psycopg aficionado runs on Debian ;-P ) * COPY FROM raise an exception and return usefull information on error. --- databases/py-psycopg/Makefile | 8 ++++---- databases/py-psycopg/distinfo | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile index 7016a73d3ce..470abc3264e 100644 --- a/databases/py-psycopg/Makefile +++ b/databases/py-psycopg/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2005/04/11 21:45:15 tv Exp $ +# $NetBSD: Makefile,v 1.20 2005/11/11 23:10:19 joerg Exp $ # -DISTNAME= psycopg-1.1.14 -PKGNAME= ${PYPKGPREFIX}-psycopg-1.1.14 +DISTNAME= psycopg-1.1.21 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= databases python MASTER_SITES= http://initd.org/pub/software/psycopg/ @@ -17,7 +17,7 @@ CONFIGURE_ARGS+= \ --with-postgres-libraries=${PGSQL_PREFIX}/lib BUILD_TARGET= default -PYTHON_VERSIONS_ACCEPTED= 23 22 21 +PYTHON_VERSIONS_ACCEPTED= 24 23 22 21 PY_PATCHPLIST= yes .include "../../lang/python/extension.mk" diff --git a/databases/py-psycopg/distinfo b/databases/py-psycopg/distinfo index e08e322df02..b69dbcab857 100644 --- a/databases/py-psycopg/distinfo +++ b/databases/py-psycopg/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2005/02/23 16:33:09 agc Exp $ +$NetBSD: distinfo,v 1.6 2005/11/11 23:10:19 joerg Exp $ -SHA1 (psycopg-1.1.14.tar.gz) = dc941bf9e0f5145b5077bc53f3ed3f478548262c -RMD160 (psycopg-1.1.14.tar.gz) = 1125176a6bccae28d0259d27bc87056d4ec39b73 -Size (psycopg-1.1.14.tar.gz) = 252001 bytes +SHA1 (psycopg-1.1.21.tar.gz) = 02d8a8b5dd682306117896c7c63a9a1b518997b6 +RMD160 (psycopg-1.1.21.tar.gz) = de74a70b16353f69de7e898059a7a1d8418ad2ee +Size (psycopg-1.1.21.tar.gz) = 213753 bytes SHA1 (patch-aa) = 6423305271831d3d493dc3e47b42b5641f9149a0 -- cgit v1.2.3