summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-03-04 15:55:18 +0000
committerminskim <minskim@pkgsrc.org>2004-03-04 15:55:18 +0000
commited86eae8d96092c45f5c63eb0567adadaeede9b4 (patch)
tree87e95c24ed1afafb40dcbb8831a5088314e36575 /databases
parentceebbded7dc5f4a41faa0968beef45f524ede6dc (diff)
downloadpkgsrc-ed86eae8d96092c45f5c63eb0567adadaeede9b4.tar.gz
Update py-bsddb3 to 4.2.4.
Changes: * changed DB and DBEnv set_get_returns_none() default from 1 to 2. * cleaned up compatibility iterator interface. * the legacy compatibility dict-like interface now support iterators and generators and allows multithreaded access to the database. * fixed a tuple memory leak when raising "object has been closed" exceptions for DB, DBEnv and DBCursor objects. I doubt much previous code triggered this. * use of a closed DBCursor now raises a DBCursorClosedError exception subclass of DBError rather than a boring old DBError. * added DBCursor.get_current_size() method to return the length in bytes of the value pointed to by the cursor without reading the actual data. * Standalone pybsddb builds now use a _pybsddb dynamic/shared library rather than _bsddb. This allows for pybsddb to be built, installed and used on python >= 2.3 which includes an older version of pybsddb as its bsddb library. * Can now compile and link with BerkeleyDB 4.2.x (when its released). * the legacy bsddb module supports the iterator interface on python 2.3. * Support the DBEnv.set_shm_key() method. * Fixed setup.py include/{db4,db3} header file searching (SF bug #789740).
Diffstat (limited to 'databases')
-rw-r--r--databases/py-bsddb3/Makefile4
-rw-r--r--databases/py-bsddb3/PLIST4
-rw-r--r--databases/py-bsddb3/distinfo7
-rw-r--r--databases/py-bsddb3/patches/patch-ab25
4 files changed, 7 insertions, 33 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index 4fa50010f2f..d1945608780 100644
--- a/databases/py-bsddb3/Makefile
+++ b/databases/py-bsddb3/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2004/02/10 17:56:55 minskim Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/04 15:55:18 minskim Exp $
#
-DISTNAME= bsddb3-4.1.6
+DISTNAME= bsddb3-4.2.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pybsddb/}
diff --git a/databases/py-bsddb3/PLIST b/databases/py-bsddb3/PLIST
index 5d02c496fc1..fcde56101b6 100644
--- a/databases/py-bsddb3/PLIST
+++ b/databases/py-bsddb3/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2004/02/10 17:56:55 minskim Exp $
+@comment $NetBSD: PLIST,v 1.4 2004/03/04 15:55:18 minskim Exp $
${PYSITELIB}/bsddb3/__init__.py
${PYSITELIB}/bsddb3/__init__.pyc
${PYSITELIB}/bsddb3/__init__.pyo
-${PYSITELIB}/bsddb3/_bsddb.so
+${PYSITELIB}/bsddb3/_pybsddb.so
${PYSITELIB}/bsddb3/db.py
${PYSITELIB}/bsddb3/db.pyc
${PYSITELIB}/bsddb3/db.pyo
diff --git a/databases/py-bsddb3/distinfo b/databases/py-bsddb3/distinfo
index d0e9a5d62e1..82c334e34b5 100644
--- a/databases/py-bsddb3/distinfo
+++ b/databases/py-bsddb3/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/02/10 17:56:55 minskim Exp $
+$NetBSD: distinfo,v 1.4 2004/03/04 15:55:18 minskim Exp $
-SHA1 (bsddb3-4.1.6.tar.gz) = 670c1e62ebb0728ed0b41971d629e6844176ed41
-Size (bsddb3-4.1.6.tar.gz) = 485193 bytes
+SHA1 (bsddb3-4.2.4.tar.gz) = 8fd531d6e310c0dbae8a46c88d04671ef0feb20d
+Size (bsddb3-4.2.4.tar.gz) = 508095 bytes
SHA1 (patch-aa) = d19ba6ae428f3e27029c0ed23694230cc0b82656
-SHA1 (patch-ab) = a2bcbf091689edc2c63b653ef82a0c12335713e1
diff --git a/databases/py-bsddb3/patches/patch-ab b/databases/py-bsddb3/patches/patch-ab
deleted file mode 100644
index f367743fe2d..00000000000
--- a/databases/py-bsddb3/patches/patch-ab
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2004/02/10 17:56:55 minskim Exp $
-
---- extsrc/_bsddb.c.orig 2004-01-14 02:50:28.000000000 -0600
-+++ extsrc/_bsddb.c
-@@ -4363,7 +4363,11 @@ DL_EXPORT(void) init_bsddb(void)
- ADD_INT(d, DB_MAX_PAGES);
- ADD_INT(d, DB_MAX_RECORDS);
-
-+#if (DBVER >= 42)
-+ ADD_INT(d, DB_RPCCLIENT);
-+#else
- ADD_INT(d, DB_CLIENT);
-+#endif
- ADD_INT(d, DB_XA_CREATE);
-
- ADD_INT(d, DB_CREATE);
-@@ -4512,7 +4516,7 @@ DL_EXPORT(void) init_bsddb(void)
- ADD_INT(d, DB_CHECKPOINT);
- ADD_INT(d, DB_CURLSN);
- #endif
--#if (DBVER >= 33)
-+#if (DBVER >= 33 && DBVER < 42)
- ADD_INT(d, DB_COMMIT);
- #endif
- ADD_INT(d, DB_CONSUME);