pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-psycopg Update psycopg to 1.1.21. Allow b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2f9a2b44335
branches:  trunk
changeset: 502982:a2f9a2b44335
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Nov 11 23:10:19 2005 +0000

description:
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.

diffstat:

 databases/py-psycopg/Makefile |  8 ++++----
 databases/py-psycopg/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (38 lines):

diff -r bf07cd8ae275 -r a2f9a2b44335 databases/py-psycopg/Makefile
--- a/databases/py-psycopg/Makefile     Fri Nov 11 23:00:18 2005 +0000
+++ b/databases/py-psycopg/Makefile     Fri Nov 11 23:10:19 2005 +0000
@@ -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 @@
  --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 -r bf07cd8ae275 -r a2f9a2b44335 databases/py-psycopg/distinfo
--- a/databases/py-psycopg/distinfo     Fri Nov 11 23:00:18 2005 +0000
+++ b/databases/py-psycopg/distinfo     Fri Nov 11 23:10:19 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index