From 43c87caba77aae9a0f878cd6eb84baf96b324b6d Mon Sep 17 00:00:00 2001 From: Josh Paetzel Date: Tue, 3 Dec 2019 23:35:16 +0000 Subject: [PATCH] Update to 5.2 Repair incompatibilities introduced with 5.1. The default Loader was changed, but several methods like add_constructor still used the old default A more flexible fix for custom tag constructors Change default loader for yaml.add_constructor Change default loader for add_implicit_resolver, add_path_resolver Make FullLoader safer by removing python/object/apply from the default FullLoader Move constructor for object/apply to UnsafeConstructor Fix bug introduced in 5.1 where quoting went wrong on systems with sys.maxunicode <= 0xffff Fix logic for quoting special characters --- devel/py-yaml/Makefile | 2 +- devel/py-yaml/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/devel/py-yaml/Makefile b/devel/py-yaml/Makefile index cdf7bcade9f9..f6997f6a7cf4 100644 --- a/devel/py-yaml/Makefile +++ b/devel/py-yaml/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= yaml -PORTVERSION= 5.1 +PORTVERSION= 5.2 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-yaml/distinfo b/devel/py-yaml/distinfo index e4eb7050f1a8..aeeb0c5bf0e8 100644 --- a/devel/py-yaml/distinfo +++ b/devel/py-yaml/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1556018048 -SHA256 (PyYAML-5.1.tar.gz) = 436bc774ecf7c103814098159fbb84c2715d25980175292c648f2da143909f95 -SIZE (PyYAML-5.1.tar.gz) = 274244 +TIMESTAMP = 1575414761 +SHA256 (PyYAML-5.2.tar.gz) = c0ee8eca2c582d29c3c2ec6e2c4f703d1b7f1fb10bc72317355a746057e7346c +SIZE (PyYAML-5.2.tar.gz) = 265687