summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2006-09-02 14:15:13 +0000
committerjoerg <joerg>2006-09-02 14:15:13 +0000
commit8ca6ff4180169e3c809d2900586a7829bdfb2ccd (patch)
tree9c489c358307853d3837c8ee7fb22498c145e682
parentc60f8504cc0a7e5d268464019ea44854eceef4fe (diff)
downloadpkgsrc-8ca6ff4180169e3c809d2900586a7829bdfb2ccd.tar.gz
Update psycopg2 to 2.0.5.1, the new stable version.
Changes since 2.0.2 are mostly bugfixes.
-rw-r--r--databases/py-psycopg2/Makefile6
-rw-r--r--databases/py-psycopg2/distinfo10
-rw-r--r--databases/py-psycopg2/patches/patch-aa21
3 files changed, 19 insertions, 18 deletions
diff --git a/databases/py-psycopg2/Makefile b/databases/py-psycopg2/Makefile
index 28e228994ca..bdfbb742153 100644
--- a/databases/py-psycopg2/Makefile
+++ b/databases/py-psycopg2/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/12 16:34:39 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2006/09/02 14:15:13 joerg Exp $
#
-DISTNAME= psycopg2-2.0.2
+DISTNAME= psycopg2-2.0.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= http://initd.org/pub/software/psycopg/
MAINTAINER= joerg@NetBSD.org
-HOMEPAGE= http://initd.org/software/psycopg
+HOMEPAGE= http://initd.org/software/psycopg2/
COMMENT= PostgreSQL database adapter for Python
PYDISTUTILSPKG= yes
diff --git a/databases/py-psycopg2/distinfo b/databases/py-psycopg2/distinfo
index e50327100e3..8ab444dbe61 100644
--- a/databases/py-psycopg2/distinfo
+++ b/databases/py-psycopg2/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2006/07/12 17:55:05 joerg Exp $
+$NetBSD: distinfo,v 1.3 2006/09/02 14:15:13 joerg Exp $
-SHA1 (psycopg2-2.0.2.tar.gz) = 94c37b6cfdc7fa40cf5c9b4e1b6d2b774f7b1ee2
-RMD160 (psycopg2-2.0.2.tar.gz) = 8a56c952eda241ebc000bd9455c3482ee5890345
-Size (psycopg2-2.0.2.tar.gz) = 279200 bytes
-SHA1 (patch-aa) = db059c33b907bef15e96e70f6376c6d80ca95312
+SHA1 (psycopg2-2.0.5.1.tar.gz) = 0187a06422e9572aadeaa4179dd898efa1b3d045
+RMD160 (psycopg2-2.0.5.1.tar.gz) = 92970e9b4bf056c7d51602dc5a0c18cfa843259a
+Size (psycopg2-2.0.5.1.tar.gz) = 280775 bytes
+SHA1 (patch-aa) = ae155f2a98d3d7270fcb1b3351eebf88333c3f56
diff --git a/databases/py-psycopg2/patches/patch-aa b/databases/py-psycopg2/patches/patch-aa
index 0a351bb6517..fb66bf878ed 100644
--- a/databases/py-psycopg2/patches/patch-aa
+++ b/databases/py-psycopg2/patches/patch-aa
@@ -1,11 +1,12 @@
-$NetBSD: patch-aa,v 1.1 2006/07/12 17:55:05 joerg Exp $
+$NetBSD: patch-aa,v 1.2 2006/09/02 14:15:13 joerg Exp $
---- setup.cfg.orig 2006-07-12 19:53:29.000000000 +0200
-+++ setup.cfg
-@@ -1,5 +1,5 @@
- [build_ext]
--define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG
-+define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
- # PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
- # PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
- # HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.3
+--- psycopg/connection_type.c.orig 2006-09-02 16:07:53.000000000 +0200
++++ psycopg/connection_type.c
+@@ -288,7 +288,6 @@ connection_setup(connectionObject *self,
+ pthread_mutex_init(&(self->lock), NULL);
+
+ if (conn_connect(self) != 0) {
+- pthread_mutex_destroy(&(self->lock));
+ Dprintf("connection_init: FAILED");
+ return -1;
+ }