pkgsrc/databases/py-bsddb3/Makefile

40 lines
1.3 KiB
Makefile
Raw Normal View History

2017-09-03 10:53:04 +02:00
# $NetBSD: Makefile,v 1.54 2017/09/03 08:53:06 wiz Exp $
DISTNAME= bsddb3-6.2.4
2004-02-10 18:56:55 +01:00
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
2016-06-08 19:43:20 +02:00
MASTER_SITES= ${MASTER_SITE_PYPI:=b/bsddb3/}
MAINTAINER= pkgsrc-users@NetBSD.org
2017-09-03 10:53:04 +02:00
HOMEPAGE= https://pypi.python.org/pypi/bsddb3/
Update to 6.2.1 Update COMMENT Upstream changes: bsddb3-6.2.1: Testsuite verified with Unix 32 bit Python 2.6-2.7 and 3.3-3.5, and Berkeley DB 4.7, 4.8, 5.1, 5.3, 6.1 and 6.2. (20160510) BEWARE: Oracle Berkeley DB version 6.x is licensed under AGPL3 or have a commercial license. If you need the old Berkeley DB license, you can still use Berkeley DB version up to (and including) 5.3. You can use that Berkeley DB version with this bindings release. If you are going to use replication (Replication Manager or Base Replication), you should use Berkeley DB 5.1 or up. The minimum recommended version for advanced use is Berkeley DB 4.8.30. Changes: Correctly detect Berkeley DB installations in modern 64 bits Debians. bsddb3-6.2.0: Testsuite verified with Unix 32 bit Python 2.6-2.7 and 3.3-3.5, and Berkeley DB 4.7, 4.8, 5.1, 5.3, 6.1 and 6.2. (20160421) BEWARE: Oracle Berkeley DB version 6.x is licensed under AGPL3 or have a commercial license. If you need the old Berkeley DB license, you can still use Berkeley DB version up to (and including) 5.3. You can use that Berkeley DB version with this bindings release. If you are going to use replication (Replication Manager or Base Replication), you should use Berkeley DB 5.1 or up. The minimum recommended version for advanced use is Berkeley DB 4.8.30. Changes: Support Berkeley DB 6.2.x. Declare Python 3.5 support for PyPI. Drop support for Python 3.2. If you need compatibility with that version, you can keep using old releases of these bindings. Drop support for Berkeley DB 5.0, 5.2 and 6.0. If you need compatibility with those versions, you can keep using old releases of these bindings. bsddb3-6.1.1: Testsuite verified with Unix 32 bit Python 2.6-2.7 and 3.2-3.5, and Berkeley DB 4.7-6.1. (20151107) BEWARE: Oracle Berkeley DB version 6.x is licensed under AGPL3 or have a commercial license. If you need the old Berkeley DB license, you can still use BDB version up to (and including) 5.3. If you are going to use replication (Replication Manager or Base Replication), you should use Berkeley DB 5.1 or up. The minimum recommended version for advanced use is Berkeley DB 4.8.30. Changes: Compatibility with Python 3.5. Code cleanup after dropping Python 2.4/2.5 support. PGP key changed. Support for DB_FORCESYNCENV flag in "DB_ENV.close()". Support for DB_LOG_NOSYNC flag in "DB_ENV.log_set_config()". Fix tests under Windows. See https://bugs.python.org/issue22943 . Solve an incorrect parameter verification with the "DB.compact()" method call. Solve a compilation warning when compiling the bindings for Python 3.5 and Berkeley DB 4.8, 5.0 or 5.1. bsddb3-6.1.0: Testsuite verified with Unix 32 bit Python 2.6-2.7 and 3.2-3.4, and Berkeley DB 4.7-6.1. (20140721) BEWARE: Oracle Berkeley DB version 6.x is licensed under AGPL3 or have a commercial license. If you need the old Berkeley DB license, you can still use BDB version up to (and including) 5.3. If you are going to use replication (Replication Manager or Base Replication), you should use Berkeley DB 5.1 or up. The minimum recommended version for advanced use is Berkeley DB 4.8.30. Changes: Support Berkeley DB 6.1.x. Solve a ResourceWarning when compiling. Drop support for Python 2.4, 2.5 and 3.1. If you need compatibility with those versions, you can keep using old releases of these bindings. Drop support for Berkeley DB 4.3, 4.4, 4.5, 4.6. If you need compatibility with those versions, you can keep using old releases of these bindings. From now on, our support reference is Red Hat Enterprise Linux 6. Drop modules attributes "cvsid". Drop (hidden) $Id$ keyword in the documentation.
2016-08-24 08:36:13 +02:00
COMMENT= Python bindings for Oracle Berkeley DB
LICENSE= modified-bsd
BDB_ACCEPTED= db6 db5 db4
PYSETUPBUILDARGS= --berkeley-db=${BDBBASE}
PYSETUPINSTALLARGS= --berkeley-db=${BDBBASE}
PYSETUPBUILDARGS+= --berkeley-db-incdir=${BDBBASE}/include/${BDB_TYPE}
PYSETUPINSTALLARGS+= --berkeley-db-incdir=${BDBBASE}/include/${BDB_TYPE}
REPLACE_PYTHON= Lib/bsddb/dbshelve.py
REPLACE_PYTHON+= Lib3/bsddb/dbshelve.py
REPLACE_PYTHON+= Lib/bsddb/test/test_dbtables.py
REPLACE_PYTHON+= Lib3/bsddb/test/test_dbtables.py
SUBST_CLASSES+= bdb
SUBST_STAGE.bdb= pre-configure
SUBST_FILES.bdb= ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py
SUBST_SED.bdb= -e "s,dblib = 'db',dblib = '${BDB_TYPE}',g"
MAKE_ENV+= YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
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 <ian@arevco.ca> * 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().
2005-01-02 13:43:12 +01:00
do-test:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} test.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"