From 8c0d70dc83a1f79de29714a5016fbac996250795 Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 4 May 2011 13:09:01 +0000 Subject: Changes 5.1.2: * 5.1.1 install fails if the bsddb in the standard library is not installed, under Python 2.7. * Since 5.0.0, we can't find 4.x libraries unless we specify a "--berkeley-db=/path/to/bsddb" option. * Support "DB_ENV->get_open_flags()", "DB_ENV->set_intermediate_dir_mode()", "DB_ENV->get_intermediate_dir_mode()". * Support "DB->get_dbname()", "DB->get_open_flags()". * Support "db_full_version()". * Document "version()". This top-level function has been supported forever. * Bugfix when calling "DB->get_size()" on a zero length record. * 'assertEquals()' is deprecated in Python 3.2. * 'assert_()' is deprecated in Python 3.2. * Solved 'ResourceWarning' under Python 3.2. --- databases/py-bsddb3/Makefile | 4 ++-- databases/py-bsddb3/distinfo | 9 ++++----- databases/py-bsddb3/patches/patch-setup2.py | 14 -------------- 3 files changed, 6 insertions(+), 21 deletions(-) delete mode 100644 databases/py-bsddb3/patches/patch-setup2.py (limited to 'databases') diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index 8866c2eea13..408a37562bc 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.41 2011/02/23 10:46:17 adam Exp $ +# $NetBSD: Makefile,v 1.42 2011/05/04 13:09:01 adam Exp $ -DISTNAME= bsddb3-5.1.1 +DISTNAME= bsddb3-5.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= databases python MASTER_SITES= http://pypi.python.org/packages/source/b/bsddb3/ diff --git a/databases/py-bsddb3/distinfo b/databases/py-bsddb3/distinfo index 5ccf61f3b79..f58d16b9841 100644 --- a/databases/py-bsddb3/distinfo +++ b/databases/py-bsddb3/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.18 2011/02/23 10:46:17 adam Exp $ +$NetBSD: distinfo,v 1.19 2011/05/04 13:09:01 adam Exp $ -SHA1 (bsddb3-5.1.1.tar.gz) = d2395260ccc9c62b351992ebf01fe9ba156e5cd4 -RMD160 (bsddb3-5.1.1.tar.gz) = 498ebe1b996cebacc96f4645d62ae42748d0ecc3 -Size (bsddb3-5.1.1.tar.gz) = 377691 bytes -SHA1 (patch-setup2.py) = 45fe75b148fb3522b382db8f368dc788f6df6278 +SHA1 (bsddb3-5.1.2.tar.gz) = 47ba5642dbfd63bfdb03b4ef9102dad0717cb1c5 +RMD160 (bsddb3-5.1.2.tar.gz) = bd4edcb7947ffc26e40abe58ad28d578ea435783 +Size (bsddb3-5.1.2.tar.gz) = 380258 bytes diff --git a/databases/py-bsddb3/patches/patch-setup2.py b/databases/py-bsddb3/patches/patch-setup2.py deleted file mode 100644 index ffda05d7ec5..00000000000 --- a/databases/py-bsddb3/patches/patch-setup2.py +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-setup2.py,v 1.1 2011/02/23 10:46:18 adam Exp $ - -Fix setup with Python 2.7. - ---- setup2.py.orig 2011-02-23 10:42:28.000000000 +0000 -+++ setup2.py -@@ -36,7 +36,6 @@ if (sys.version_info[0] < 3) and (sys.ve - 'Please use capsule objects instead.', - category=DeprecationWarning) - -- import bsddb # Import the 2.7 version, that uses CObject - finally : - context.__exit__() - -- cgit v1.2.3