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).
24 lines
629 B
Makefile
24 lines
629 B
Makefile
# $NetBSD: Makefile,v 1.7 2004/03/04 15:55:18 minskim Exp $
|
|
#
|
|
|
|
DISTNAME= bsddb3-4.2.4
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pybsddb/}
|
|
|
|
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}
|
|
|
|
USE_BUILDLINK3= yes
|
|
PYDISTUTILSPKG= yes
|
|
PYBINMODULE= yes
|
|
|
|
BUILDLINK_DEPENDS.db4+= db4>=4.2.52
|
|
|
|
.include "../../databases/db4/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|