Changes 2.2.2: * psycopg/cursor_type.c: executemany() propagates exceptions raised by the iterable to the caller. * lib/pool.py: dropped logging.basicConfig() call. It messes up with projects using logging but where no handler is installed on the root logger. * psycopg/cursor_type.c: exceptions raised in the columns iterator of the copy methods propagated to the caller. * psycopg/typecast_datetime.c: Round seconds in historical timezones to the nearest minute. * lib/extras.py: register_tstz_w_secs() is now no-op. Changes 2.2.1: * Builds again on Windows. Changes 2.2.0: * typecast.c: Fixed problem related to receiving None from Python when a string was expected. * psycopg/adapter_datetime.c: Fixed TimestampFromTicks for second values > 59.5. * psycopg/adapter_datetime.c: Fixed same bug for TimeFromTicks. * Added typecasters for arrays of specific MX/Py time-related types. * psycopg/adapter_[mx]datetime.c: Explicit cast of the SQL representation of time-related objects. * psycopg/adapter_binary.c: Adapt buffer objects using an explicit cast on the string literal * lib/pqpath.c: Fixed reference leak in notify reception. * Notifies are collected if available after every query execution. * lib/extensions.py: DECIMAL typecaster imported from _psycopg. * lib/extensions.py: PY* and MX* time typecaster imported from _psycopg. * psycopg/connection_type.c: Correctly parse keywords in connect(). * psycopg/pqpath.c: Ensure running COPY in blocking mode. * psycopg/pqpath.c: Free the GIL in blocking operations in V2 COPY FROM. * psycopg/pqpath.c: Evaluate Python objects only once outside the COPY I/O loops. * Fixed problem with asynchronous NOTIFYs. * Integrated async pacthes from Jan's git tree.diff -r1.10 -r1.11 pkgsrc/databases/py-psycopg2/Makefile
(adam)
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2010/02/10 19:34:06 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2010/09/07 06:13:12 adam Exp $ | |
2 | # | |||
3 | 2 | |||
4 | DISTNAME= psycopg2-2.0.13 | 3 | DISTNAME= psycopg2-2.2.2 | |
5 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
6 | PKGREVISION= 1 | |||
7 | CATEGORIES= databases python | 5 | CATEGORIES= databases python | |
8 | MASTER_SITES= http://initd.org/pub/software/psycopg/ | 6 | MASTER_SITES= http://initd.org/pub/software/psycopg/ | |
9 | 7 | |||
10 | MAINTAINER= joerg@NetBSD.org | 8 | MAINTAINER= joerg@NetBSD.org | |
11 | HOMEPAGE= http://initd.org/projects/psycopg2/ | 9 | HOMEPAGE= http://initd.org/projects/psycopg2/ | |
12 | COMMENT= PostgreSQL database adapter for Python | 10 | COMMENT= PostgreSQL database adapter for Python | |
11 | LICENSE= gnu-lgpl-v3 | |||
13 | 12 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 14 | |||
16 | PYDISTUTILSPKG= yes | 15 | PYDISTUTILSPKG= yes | |
17 | 16 | |||
18 | .include "../../lang/python/extension.mk" | 17 | .include "../../lang/python/extension.mk" | |
19 | .include "../../mk/pgsql.buildlink3.mk" | 18 | .include "../../mk/pgsql.buildlink3.mk" | |
20 | .include "../../mk/pthread.buildlink3.mk" | 19 | .include "../../mk/pthread.buildlink3.mk" | |
21 | .include "../../mk/bsd.pkg.mk" | 20 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2009/10/19 10:54:47 joerg Exp $ | 1 | $NetBSD: distinfo,v 1.6 2010/09/07 06:13:12 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (psycopg2-2.0.13.tar.gz) = 859725d0c830dc3590cb5666c8465bd29ab167cc | 3 | SHA1 (psycopg2-2.2.2.tar.gz) = 850f6bfa2bf986376b45e49334b7f153a33e4960 | |
4 | RMD160 (psycopg2-2.0.13.tar.gz) = 6099f593ea1f05b78b6f2c3c4106b86cbcab7386 | 4 | RMD160 (psycopg2-2.2.2.tar.gz) = df51d6bfe81a603cfac54afe2c5eb07de165c0ab | |
5 | Size (psycopg2-2.0.13.tar.gz) = 258399 bytes | 5 | Size (psycopg2-2.2.2.tar.gz) = 530021 bytes |