pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-bsddb3 Update py-bsddb3 to 4.2.4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ba05ec588de0
branches: trunk
changeset: 469993:ba05ec588de0
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Mar 04 15:55:18 2004 +0000
description:
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:
databases/py-bsddb3/Makefile | 4 ++--
databases/py-bsddb3/PLIST | 4 ++--
databases/py-bsddb3/distinfo | 7 +++----
databases/py-bsddb3/patches/patch-ab | 25 -------------------------
4 files changed, 7 insertions(+), 33 deletions(-)
diffs (69 lines):
diff -r ed21ffd7bf23 -r ba05ec588de0 databases/py-bsddb3/Makefile
--- a/databases/py-bsddb3/Makefile Thu Mar 04 15:49:47 2004 +0000
+++ b/databases/py-bsddb3/Makefile Thu Mar 04 15:55:18 2004 +0000
@@ -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 -r ed21ffd7bf23 -r ba05ec588de0 databases/py-bsddb3/PLIST
--- a/databases/py-bsddb3/PLIST Thu Mar 04 15:49:47 2004 +0000
+++ b/databases/py-bsddb3/PLIST Thu Mar 04 15:55:18 2004 +0000
@@ -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 -r ed21ffd7bf23 -r ba05ec588de0 databases/py-bsddb3/distinfo
--- a/databases/py-bsddb3/distinfo Thu Mar 04 15:49:47 2004 +0000
+++ b/databases/py-bsddb3/distinfo Thu Mar 04 15:55:18 2004 +0000
@@ -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 -r ed21ffd7bf23 -r ba05ec588de0 databases/py-bsddb3/patches/patch-ab
--- a/databases/py-bsddb3/patches/patch-ab Thu Mar 04 15:49:47 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index