summaryrefslogtreecommitdiff
path: root/databases/py-psycopg2
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-09-07 06:13:12 +0000
committeradam <adam@pkgsrc.org>2010-09-07 06:13:12 +0000
commit1a0ae396d25fa9726a8cb8cf6716a24ef2f1b5bf (patch)
treec0356ab701ddd6f9d27e6a6f74a5fc3a560ed64a /databases/py-psycopg2
parent4f98f636d88aefccd48e8fe68d507880b2d8ca62 (diff)
downloadpkgsrc-1a0ae396d25fa9726a8cb8cf6716a24ef2f1b5bf.tar.gz
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.
Diffstat (limited to 'databases/py-psycopg2')
-rw-r--r--databases/py-psycopg2/Makefile7
-rw-r--r--databases/py-psycopg2/distinfo8
2 files changed, 7 insertions, 8 deletions
diff --git a/databases/py-psycopg2/Makefile b/databases/py-psycopg2/Makefile
index a931d8b87fc..efcc3de6e24 100644
--- a/databases/py-psycopg2/Makefile
+++ b/databases/py-psycopg2/Makefile
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.10 2010/02/10 19:34:06 joerg Exp $
-#
+# $NetBSD: Makefile,v 1.11 2010/09/07 06:13:12 adam Exp $
-DISTNAME= psycopg2-2.0.13
+DISTNAME= psycopg2-2.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/psycopg/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://initd.org/projects/psycopg2/
COMMENT= PostgreSQL database adapter for Python
+LICENSE= gnu-lgpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/databases/py-psycopg2/distinfo b/databases/py-psycopg2/distinfo
index 18b965870b4..9a5fab8c7b3 100644
--- a/databases/py-psycopg2/distinfo
+++ b/databases/py-psycopg2/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2009/10/19 10:54:47 joerg Exp $
+$NetBSD: distinfo,v 1.6 2010/09/07 06:13:12 adam Exp $
-SHA1 (psycopg2-2.0.13.tar.gz) = 859725d0c830dc3590cb5666c8465bd29ab167cc
-RMD160 (psycopg2-2.0.13.tar.gz) = 6099f593ea1f05b78b6f2c3c4106b86cbcab7386
-Size (psycopg2-2.0.13.tar.gz) = 258399 bytes
+SHA1 (psycopg2-2.2.2.tar.gz) = 850f6bfa2bf986376b45e49334b7f153a33e4960
+RMD160 (psycopg2-2.2.2.tar.gz) = df51d6bfe81a603cfac54afe2c5eb07de165c0ab
+Size (psycopg2-2.2.2.tar.gz) = 530021 bytes