From 208b74e43d789cd7ce21640eb5b0a2f6fe524997 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 9 Aug 2009 09:33:11 +0000 Subject: Update to 3.08, depend on libyaml. 3.08 (2008-12-31) ----------------- * Python 3 support (Thank to Erick Tryzelaar). * Use Cython instead of Pyrex to build LibYAML bindings. * Refactored support for unicode and byte input/output streams. 3.07 (2008-12-29) ----------------- * The emitter learned to use an optional indentation indicator for block scalar; thus scalars with leading whitespaces could now be represented in a literal or folded style. * The test suite is now included in the source distribution. To run the tests, type 'python setup.py test'. * Refactored the test suite: dropped unittest in favor of a custom test appliance. * Fixed the path resolver in CDumper. * Forced an explicit document end indicator when there is a possibility of parsing ambiguity. * More setup.py improvements: the package should be usable when any combination of setuptools, Pyrex and LibYAML is installed. * Windows binary packages are built against LibYAML-0.1.2. * Minor typos and corrections (Thank to Ingy dot Net and Andrey Somov). 3.06 (2008-10-03) ----------------- * setup.py checks whether LibYAML is installed and if so, builds and installs LibYAML bindings. To force or disable installation of LibYAML bindings, use '--with-libyaml' or '--without-libyaml' respectively. * The source distribution includes compiled Pyrex sources so building LibYAML bindings no longer requires Pyrex installed. * 'yaml.load()' raises an exception if the input stream contains more than one YAML document. * Fixed exceptions produced by LibYAML bindings. * Fixed a dot '.' character being recognized as !!float. * Fixed Python 2.3 compatibility issue in constructing !!timestamp values. * Windows binary packages are built against the LibYAML stable branch. * Added attributes 'yaml.__version__' and 'yaml.__with_libyaml__'. --- textproc/py-yaml/Makefile | 7 ++++--- textproc/py-yaml/PLIST | 3 ++- textproc/py-yaml/distinfo | 8 ++++---- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'textproc') diff --git a/textproc/py-yaml/Makefile b/textproc/py-yaml/Makefile index 10d31400ae9..275ab9195f1 100644 --- a/textproc/py-yaml/Makefile +++ b/textproc/py-yaml/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2008/05/08 18:32:19 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2009/08/09 09:33:11 wiz Exp $ # -DISTNAME= PyYAML-3.05 -PKGNAME= ${PYPKGPREFIX}-yaml-3.05 +DISTNAME= PyYAML-3.08 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyYAML/yaml/} CATEGORIES= textproc python MASTER_SITES= http://pyyaml.org/download/pyyaml/ @@ -15,4 +15,5 @@ PKG_DESTDIR_SUPPORT= user-destdir PYDISTUTILSPKG= yes .include "../../lang/python/extension.mk" +.include "../../textproc/libyaml/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-yaml/PLIST b/textproc/py-yaml/PLIST index 69105a2e327..595e2f72291 100644 --- a/textproc/py-yaml/PLIST +++ b/textproc/py-yaml/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:17:26 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2009/08/09 09:33:11 wiz Exp $ +${PYSITELIB}/_yaml.so ${PYSITELIB}/yaml/__init__.py ${PYSITELIB}/yaml/__init__.pyc ${PYSITELIB}/yaml/__init__.pyo diff --git a/textproc/py-yaml/distinfo b/textproc/py-yaml/distinfo index 086b306aede..a1daff43446 100644 --- a/textproc/py-yaml/distinfo +++ b/textproc/py-yaml/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2007/07/01 00:06:54 wiz Exp $ +$NetBSD: distinfo,v 1.3 2009/08/09 09:33:11 wiz Exp $ -SHA1 (PyYAML-3.05.tar.gz) = facf11bc9f6988b76538e46a7ce8a379a9296cb0 -RMD160 (PyYAML-3.05.tar.gz) = 1848e00b3b46c93fdd383092a3db8728b6b8bae0 -Size (PyYAML-3.05.tar.gz) = 87136 bytes +SHA1 (PyYAML-3.08.tar.gz) = 5f9738b74afabcf516ce536b462cb4d18403211d +RMD160 (PyYAML-3.08.tar.gz) = fe034d73a8cdc98381099106ac8884d6b6f917d8 +Size (PyYAML-3.08.tar.gz) = 229297 bytes -- cgit v1.2.3