From 7b297f88f61cfdc20e97c4e2ec4b7411f064af5b Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 2 Jan 2005 12:43:12 +0000 Subject: Update to version 4.3.0 Note: This fix the build with latest db4 package. Package changes: Remove references to LOCALBASE. Add test target support. Changes since last packaged version (4.2.4): 4.3.0: * Added support for building properly against BerkeleyDB 4.3.21. * fixed bug introduced in 4.2.8 that prevent the module from compiling against BerkeleyDB 3.2 (which doesn't support pget). * setup.py was cleaned up a bit to search for and find the latest version of the correct combo of db.h and libdb. 4.2.9: * DB keys() values() and items() methods were ignoring their optional txn parameter. This would lead to deadlocks in applications needing those to be transaction protected. 4.2.8: * Adds support for DB and DBCursor pget methods. Based on a patch submitted to the mailing list by Ian Ward * Added weakref support to all bsddb.db objects. * Make DBTxn objects automatically call abort() in their destructor if not yet finalized and raise a RuntimeWarning to that effect. 4.2.7: * fix an error with the legacy interface relying on the DB_TRUNCATE flag that changed behaviour to not work in a locking environment with BerkeleyDB 4.2.52. [SF bug id 897820] * fixed memory leaks in DB.get, DBC.set_range and potentially several other methods that would occur primarily when using queue | recno format databases with integer keys. [SF patch id 967763] 4.2.6: * the DB.has_key method was not honoring its txn parameter to perform its lookup within the specified (optional) transaction. fixed. [SF bug id 914019] 4.2.5: * Fixed a bug in the compatibility interface set_location() method where it would not properly search to the next nearest key when used on BTree databases. [SF bug id 788421] * Fixed a bug in the compatibility interface set_location() method where it could crash when looking up keys in a hash or recno format database due to an incorrect free(). --- databases/py-bsddb3/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'databases/py-bsddb3/Makefile') diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index 2fa6349f176..8ed1be96d9b 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2004/10/03 00:13:23 tv Exp $ +# $NetBSD: Makefile,v 1.11 2005/01/02 12:43:12 seb Exp $ # -DISTNAME= bsddb3-4.2.4 +DISTNAME= bsddb3-4.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pybsddb/} @@ -11,8 +10,8 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://pybsddb.sourceforge.net/ COMMENT= Python extension module for Berkeley DB 4 -PYSETUPBUILDARGS= --berkeley-db=${LOCALBASE} -PYSETUPINSTALLARGS= --berkeley-db=${LOCALBASE} +PYSETUPBUILDARGS= --berkeley-db=${BUILDLINK_PREFIX.db4} +PYSETUPINSTALLARGS= --berkeley-db=${BUILDLINK_PREFIX.db4} USE_BUILDLINK3= yes PYDISTUTILSPKG= yes @@ -25,6 +24,9 @@ BUILDLINK_DEPENDS.db4+= db4>=4.2.52 PYTHON_VERSIONS_ACCEPTED= 23pth 22pth .endif +do-test: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} test.py + .include "../../databases/db4/buildlink3.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3