summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-01-07 21:15:49 +0000
committerwiz <wiz@pkgsrc.org>2009-01-07 21:15:49 +0000
commit70b0ed7464618b284033417dde9f57f7a9fdbd19 (patch)
tree260db03e341eda7fa70d1f89fa71abb59b1d9532 /databases
parent86e6ce6164932629985d946d1759027144e3611a (diff)
downloadpkgsrc-70b0ed7464618b284033417dde9f57f7a9fdbd19.tar.gz
Update to 4.7.3:
4.7.3: (Python 2.6 release. First release with Python 3.0 support) * "private" is a keyword in C++. (Duncan Grisby) * setup.py should install "bsddb.h". (Duncan Grisby) * "DB_remove" memory corruption & crash. (Duncan Grisby) * Under Python 3.0, you can't use string keys/values, but bytes ones. Print the right error message. * "DB.has_key()" allowed transactions as a positional parameter. We allow, now, transactions as a keyword parameter also, as documented. * Correct "DB.associate()" parameter order in the documentation. * "DB.append()" recognizes "txn" both as a positional and a keyword parameter. * Small fix in "dbshelve" for compatibility with Python 3.0. * A lot of changes in "dbtables" for compatibility with Python 3.0. * Huge work making the testsuite compatible with Python 3.0. * In some cases the C module returned Unicode strings under Python 3.0. It should return "bytes", ALWAYS. Solved. * Remove a dict.has_key() use to silence a warning raised under Python2.6 -3 parameter. Python SVN r65391, Brett Cannon. * Solve some memory leaks - Neal Norwitz * If DBEnv creation fails, library can crash. (Victor Stinner) * Raising exceptions while doing a garbage collection will kill the interpreter. (Victor Stinner) * Crash in "DB.verify()". Noted by solsTiCe d'Hiver.
Diffstat (limited to 'databases')
-rw-r--r--databases/py-bsddb3/Makefile8
-rw-r--r--databases/py-bsddb3/PLIST4
-rw-r--r--databases/py-bsddb3/distinfo8
3 files changed, 13 insertions, 7 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index 26bab2117c8..511f6ce0f67 100644
--- a/databases/py-bsddb3/Makefile
+++ b/databases/py-bsddb3/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2008/11/29 18:13:28 snj Exp $
+# $NetBSD: Makefile,v 1.33 2009/01/07 21:15:49 wiz Exp $
#
-DISTNAME= bsddb3-4.7.2
+DISTNAME= bsddb3-4.7.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
MASTER_SITES= http://pypi.python.org/packages/source/b/bsddb3/
@@ -18,6 +18,9 @@ PYSETUPINSTALLARGS= --berkeley-db=${BUILDLINK_PREFIX.db4}
PYDISTUTILSPKG= yes
PYBINMODULE= yes
+REPLACE_PYTHON= Lib/bsddb/dbshelve.py
+REPLACE_PYTHON+= Lib3/bsddb/dbshelve.py
+
.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
PYTHON_VERSIONS_INCOMPATIBLE= 21
@@ -27,5 +30,6 @@ 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"
diff --git a/databases/py-bsddb3/PLIST b/databases/py-bsddb3/PLIST
index ad2f9292815..2f93c6bd60c 100644
--- a/databases/py-bsddb3/PLIST
+++ b/databases/py-bsddb3/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.9 2008/05/15 18:16:17 drochner Exp $
+@comment $NetBSD: PLIST,v 1.10 2009/01/07 21:15:49 wiz Exp $
+${PYINC}/bsddb3/bsddb.h
${PYSITELIB}/bsddb3/__init__.py
${PYSITELIB}/bsddb3/__init__.pyc
${PYSITELIB}/bsddb3/__init__.pyo
@@ -92,3 +93,4 @@ ${PYSITELIB}/bsddb3/tests/test_thread.pyc
${PYSITELIB}/bsddb3/tests/test_thread.pyo
@dirrm ${PYSITELIB}/bsddb3/tests
@dirrm ${PYSITELIB}/bsddb3
+@dirrm ${PYINC}/bsddb3
diff --git a/databases/py-bsddb3/distinfo b/databases/py-bsddb3/distinfo
index 842294a12d4..2f79af60e78 100644
--- a/databases/py-bsddb3/distinfo
+++ b/databases/py-bsddb3/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2008/09/13 12:38:09 dholland Exp $
+$NetBSD: distinfo,v 1.14 2009/01/07 21:15:49 wiz Exp $
-SHA1 (bsddb3-4.7.2.tar.gz) = 0bd5c9bb9a10b70e03498c303cac2c563daacdf5
-RMD160 (bsddb3-4.7.2.tar.gz) = 3bc0fe4269ee74960e9786ea16a9615518bb7c80
-Size (bsddb3-4.7.2.tar.gz) = 178766 bytes
+SHA1 (bsddb3-4.7.3.tar.gz) = 6f7623c5e96fcbdf5e1b5e8a3611aaaa9e2b6ea6
+RMD160 (bsddb3-4.7.3.tar.gz) = 7389cccd0a22f806a6b814854925f9f76372507d
+Size (bsddb3-4.7.3.tar.gz) = 188793 bytes
SHA1 (patch-aa) = 6d6fab16ef3e4e04f900a30de5d706298be25f23