head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.8 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.6 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.4 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2010Q1:1.6.0.14 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.12 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.10 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.8 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.6 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.4 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.2 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.5.0.6 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.4 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.2 pkgsrc-2008Q1:1.4.0.18 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.8 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.4 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.2 netbsd-1-6-1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2010.06.02.15.07.53; author adam; state dead; branches; next 1.6; 1.6 date 2008.09.13.12.38.09; author dholland; state Exp; branches; next 1.5; 1.5 date 2008.04.21.20.11.58; author drochner; state Exp; branches; next 1.4; 1.4 date 2006.01.10.21.06.31; author wiz; state Exp; branches; next 1.3; 1.3 date 2005.01.02.12.43.12; author seb; state Exp; branches; next 1.2; 1.2 date 2004.02.10.17.56.55; author minskim; state Exp; branches; next 1.1; 1.1 date 2003.01.17.19.26.04; author gson; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.01.17.19.26.04; author gson; state Exp; branches; next ; desc @@ 1.7 log @Patch-aa isn't needed any more @ text @$NetBSD: patch-aa,v 1.6 2008/09/13 12:38:09 dholland Exp $ --- setup2.py.orig 2008-03-25 14:50:51.000000000 +0100 +++ setup2.py @@@@ -7,10 +7,7 @@@@ import re import sys import glob -try : - from setuptools import setup, Extension -except : - from distutils.core import setup, Extension +from distutils.core import setup, Extension from distutils.dep_util import newer import distutils.ccompiler @@@@ -201,11 +198,11 @@@@ if os.name == 'posix': # figure out from the base setting where the lib and .h are if not incdir: - incdir = os.path.join(BERKELEYDB_DIR, 'include') + incdir = os.path.join(BERKELEYDB_DIR, 'include/db4') if not libdir: libdir = os.path.join(BERKELEYDB_DIR, 'lib') - if not '-ldb' in LIBS: - libname = [dblib] + if not '-ldb4' in LIBS: + libname = ['db4'] else: if debug: print "LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'" libname = [] @ 1.6 log @Update to 4.7.2, because 4.6.4 does not support db4-4.7.x. Changes: (from http://www.jcea.es/programacion/pybsddb.htm, some things are hyperlinks) bsddb3-4.7.2: RELEASED. (20080807). Testsuite verified in Unix 32 bit Python 2.3-2.6b2 and Berkeley DB 4.0-4.7. If you are going to use replication (Replication Manager or Base Replication), you should use Berkeley DB 4.6 or up. Previous Berkeley DB versions are unsupported, when using these functionalities. Available in PYPI. Changes: * Solved a race condition in Replication Manager testcode. * Changing any python code, automatically regenerates the Python3 version. The master version is Python2. * Compatibility with Python 3.0. * Solved a crash when DB handle creation fails. STINNER Victor - http://bugs.python.org/issue3307 * Improve internal error checking, as suggested by Neal Norwitz when reviewing commit 63207 in Python SVN. * Routines without parameters should be defined so, as suggested by Neal Norwitz when reviewing commit 63207 in Python SVN. The resulting code is (marginally) faster, smaller and clearer. * Routines with a simple object parameter are defines so, as suggested by Neal Norwitz when reviewing commit 63207 in Python SVN. The resulting code is (marginally) faster, smaller and clearer. * Routines taking objects as arguments can parse them better, as suggested by Neal Norwitz when reviewing commit 63207 in Python SVN. The resulting code is (marginally) faster, smaller and clearer. * Improve testsuite behaviour under MS Windows. * Use ABC (Abstract Base Classes) under Python 2.6 and 3.0. * Support for "relative imports". * Replication testcode behaves better in heavily loaded machines. bsddb3-4.7.1: RELEASED. (20080702). Testsuite verified in Unix 32 bit Python 2.3-2.6b1 and Berkeley DB 4.0-4.7. If you are going to use replication (Replication Manager or Base Replication), you should use Berkeley DB 4.6 or up. Previous Berkeley DB versions are unsupported, when using these functionalities. Available in PYPI. Changes: * Workaround a problem with un-initialized threads with the replication callback. * Export "DBRepUnavailError" exception. * Get rid of Berkeley DB 3.3 support. Rationale: http://mailman.argo.es/pipermail/pybsddb/2008-March/000019.html * Better integration between Python test framework and bsddb3. * Improved Python 3.0 support in the C code. * Iteration over the database, using the legacy interface, now raises a RuntimeError if the database changes while iterating. http://bugs.python.org/issue2669 - gregory.p.smith * Create "set_private()" and "get_private()" methods for DB and DBEnv objects, to allow applications to link an arbitrary object to a DB/DBEnv. Useful for callbacks. * Support some more base replication calls: "DB_ENV->rep_start", "DB_ENV->rep_sync", "DB_ENV->rep_set_config", "DB_ENV->rep_get_config", "DB_ENV->rep_set_limit", "DB_ENV->rep_get_limit", "DB_ENV->rep_set_request", "DB_ENV->rep_get_request". * Support more base replication calls: "DB_ENV->rep_elect", "DB_ENV->rep_set_transport" and "DB_ENV->rep_process_message". Support also related flags. bsddb3-4.7.0: RELEASED. (20080522). Testsuite verified in Unix 32 bit Python 2.3-2.6a3 and Berkeley DB 4.0-4.7. bsddb3 4.7.0 compiles against Berkeley DB 4.0-4.7. If you are upgrading your Berkeley DB environment at the same time, be sure to read the BDB upgrade notes carefully. From this release, the only supported Berkeley DB versions are 4.x. Support for Berkeley DB 3.3 is deprecated and will be deleted. Mailing list thread discussing this. Available in PYPI. Changes: * Support for Berkeley DB 4.7. * Support "DB_ENV->log_set_config", and related flags. * Complete the Berkeley DB Replication Manager support: "DB_ENV->repmgr_site_list" and related flags. "DB_ENV->repmgr_stat", "DB_ENV->repmgr_stat_print" and related flags. * Solved an old crash when building with debug python. (Neal Norwitz) * Extend the testsuite driver to check also against Python 2.6 (a3). * Support for RPC client service. bsddb3-4.6.5: The work on this release is transfered to 4.7.0, since Oracle just published Berkeley DB 4.7.25. (20080521) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2008/04/21 20:11:58 drochner Exp $ @ 1.5 log @update to 4.6.3 changes: many fixes, improvements and API extensions, see http://www.jcea.es/programacion/pybsddb.htm pkgsrc note: 'egg' (setuptools) support was added upstream, but disabled in pkgsrc because it leads to nondeterministic results depending on OS version and installed pkgs @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- setup.py.orig 2008-03-25 14:50:51.000000000 +0100 +++ setup.py @ 1.4 log @Make compile with db4-4.4.x. Remove BROKEN. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2005/01/02 12:43:12 seb Exp $ d3 1 a3 1 --- setup.py.orig 2005-06-03 09:27:21.000000000 +0200 d5 13 a17 1 @@@@ -194,11 +194,11 @@@@ if os.name == 'posix': @ 1.3 log @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(). @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- setup.py.orig 2004-12-16 09:10:17.000000000 +0000 d5 1 a5 1 @@@@ -177,11 +177,11 @@@@ if os.name == 'posix': @ 1.2 log @Update py-bsddb3 to 4.1.6. Changes sinec 4.1.1: * Extended DB & DBEnv set_get_returns_none functionality to take a "level" instead of a boolean flag. The boolean 0 and 1 values still have the same effect. A value of 2 extends the "return None instead of raising an exception" behaviour to the DBCursor set methods. This will become the default behaviour in pybsddb 4.2. * Updated documentation for set_get_returns_none. Regenerated the stale html docs from the text documentation. * Fixed a typo in DBCursor.join_item method that made it crash instead of returning a value. Obviously nobody uses it. Wrote a test case for join and join_item. * Added the dbobj wrapper for DBEnv set_timeout method. * Updated README.txt * Added the DBEnv.set_timeout method. * code cleanup to use python 2.x features in .py files * the standalone pybsddb distribution will install a module called bsddb3 while the module included with python >= 2.3 will be known as bsddb. * Shared all .py and .c source with the Python project. * Fixed DBTxn objects to raise an exception if they are used after the underlying DB_TXN handle becomes invalid. (rather than potentially causing a segfault) * Fixed module to work when compiled against a python without thread support. * Do not attempt to double-close DB cursor's whos underlying DB has already been closed (fixes a segfault). * Close DB objects when DB.open fails to prevent an exception about databases still being open when calling DBEnv.close. @ text @d3 1 a3 1 --- setup.py.orig 2003-07-08 23:41:34.000000000 -0500 d5 1 a5 1 @@@@ -75,11 +75,11 @@@@ if os.name == 'posix': d14 1 a14 1 - libname = ['db'] d18 1 a19 1 utils = [] @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- setup.py.orig Sun Dec 22 00:44:30 2002 d5 1 a5 2 @@@@ -70,10 +70,10 @@@@ sys.exit(1) d8 5 a12 3 - if not incdir: incdir = os.path.join(BERKELEYDB_DIR, 'include') + if not incdir: incdir = os.path.join(BERKELEYDB_DIR, 'include/db4') if not libdir: libdir = os.path.join(BERKELEYDB_DIR, 'lib') @ 1.1.1.1 log @PyBSDDB 4.1.1, a Python extension module for Berkeley DB 3 and 4. This NetBSD package includes the patches from bug reports #667340, #667343, and #669533, which are in the SourceForge pybsddb3 CVS but not yet in the 4.1.1 release; hence PKGREVISION=1. @ text @@