e54c43a5e0
changes: -Compatibility with Python 3.0.1 -"DB.has_key()" used to return 0 or 1. Changed to return True or False instead. Check your code! -Change "DBSequence.init_value()" to "DBSequence.initial_value()", for consistence with Berkeley DB real method name. This could require minimal changes in your code. The documentation was right. -add more bindings
31 lines
877 B
Makefile
31 lines
877 B
Makefile
# $NetBSD: Makefile,v 1.37 2009/06/04 17:24:08 drochner Exp $
|
|
#
|
|
|
|
DISTNAME= bsddb3-4.7.6
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/b/bsddb3/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pypi.python.org/pypi/bsddb3/
|
|
COMMENT= Python extension module for Berkeley DB 4
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
PYSETUPBUILDARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
|
|
PYSETUPINSTALLARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
REPLACE_PYTHON= Lib/bsddb/dbshelve.py
|
|
REPLACE_PYTHON+= Lib3/bsddb/dbshelve.py
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} test.py
|
|
|
|
.include "../../databases/db4/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|