pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-bsddb3 Update to 4.7.3:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/827b4ce9448c
branches:  trunk
changeset: 552664:827b4ce9448c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 07 21:15:49 2009 +0000

description:
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:

 databases/py-bsddb3/Makefile |  8 ++++++--
 databases/py-bsddb3/PLIST    |  4 +++-
 databases/py-bsddb3/distinfo |  8 ++++----
 3 files changed, 13 insertions(+), 7 deletions(-)

diffs (59 lines):

diff -r 4f101386cd48 -r 827b4ce9448c databases/py-bsddb3/Makefile
--- a/databases/py-bsddb3/Makefile      Wed Jan 07 21:06:02 2009 +0000
+++ b/databases/py-bsddb3/Makefile      Wed Jan 07 21:15:49 2009 +0000
@@ -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 @@
 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 @@
        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 -r 4f101386cd48 -r 827b4ce9448c databases/py-bsddb3/PLIST
--- a/databases/py-bsddb3/PLIST Wed Jan 07 21:06:02 2009 +0000
+++ b/databases/py-bsddb3/PLIST Wed Jan 07 21:15:49 2009 +0000
@@ -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.pyo
 @dirrm ${PYSITELIB}/bsddb3/tests
 @dirrm ${PYSITELIB}/bsddb3
+@dirrm ${PYINC}/bsddb3
diff -r 4f101386cd48 -r 827b4ce9448c databases/py-bsddb3/distinfo
--- a/databases/py-bsddb3/distinfo      Wed Jan 07 21:06:02 2009 +0000
+++ b/databases/py-bsddb3/distinfo      Wed Jan 07 21:15:49 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index