pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-ruamel-yaml py-ruamel-yaml: updated to 0.15.72
details: https://anonhg.NetBSD.org/pkgsrc/rev/53c9ed6b0891
branches: trunk
changeset: 386305:53c9ed6b0891
user: adam <adam%pkgsrc.org@localhost>
date: Sun Oct 14 16:26:51 2018 +0000
description:
py-ruamel-yaml: updated to 0.15.72
0.15.72:
- fix regression on explicit 1.1 loading with the C based scanner/parser
0.15.72:
- fix regression on explicit 1.1 loading with the C based scanner/parser
0.15.71:
- fix regression where handcrafted CommentedMaps could not be initiated
- fix regression with non-root literal scalars that needed indent indicator
- tag:yaml.org,2002:python/object/apply now also uses __qualname__ on PY3
0.15.70:
- reverted CommentedMap and CommentedSeq to subclass ordereddict resp. list,
reimplemented merge maps so that both dict(**commented_map_instance) and JSON
dumping works. This also allows checking with isinstance() on dict resp. list.
0.15.69:
- fix issue with dump_all gobbling end-of-document comments on parsing
0.15.68:
- fix issue with parsabel, but incorrect output with nested flow-style sequences
- fix issue with loading Python objects that have __setstate__ and recursion in parameters
0.15.67:
- fix issue with extra space inserted with non-root literal strings
0.15.66:
- fix issue with fold indicating characters inserted in safe_load-ed folded strings
0.15.65:
- fix issue 232 revert to throw ParserError for unexcpected ]
and } instead of IndexError.
- added key and reverse parameter (suggested by Jannik Klemm via email)
- indent root level literal scalars that have directive or document end markers
at the beginning of a line
0.15.64:
- support round-trip of tagged sequences: !Arg [a, {b: 1}]
- single entry mappings in flow sequences now written by default without quotes
set yaml.brace_single_entry_mapping_in_flow_sequence=True to force
getting [a, {b: 1}, {c: {d: 2}}] instead of the default [a, b: 1, c: {d: 2}]
- fix issue when roundtripping floats starting with a dot such as .5
0.15.63:
- small fix only necessary for Windows users that don't use wheels.
0.15.62:
- C based reader/scanner & emitter now allow setting of 1.2 as YAML version.
** The loading/dumping is still YAML 1.1 code**, so use the common subset of
YAML 1.2 and 1.1
0.15.61:
- support for round-tripping folded style scalars
- update of C code
- speed up of scanning (~30% depending on the input)
0.15.60:
- cleanup for mypy
- spurious print in library
0.15.59:
- issue with C based loader and leading zeros
0.15.59:
- issue with C based loader and leading zeros
0.15.58:
- simple mappings can now be used as keys when round-tripping::
{a: 1, b: 2}: hello world
although using the obvious operations (del, popitem) on the key will
fail, you can mutilate it by going through its attributes. If you load the
above YAML in d, then changing the value is cumbersome:
d = {CommentedKeyMap([('a', 1), ('b', 2)]): "goodbye"}
and changing the key even more so:
d[CommentedKeyMap([('b', 1), ('a', 2)])] = d.pop(
CommentedKeyMap([('a', 1), ('b', 2)]))
(you can use a dict instead of a list of tuples (or ordereddict), but that might result
in a different order, of the keys of the key, in the output)
- check integers to dump with 1.2 patterns instead of 1.1
0.15.57:
- Fix that CommentedSeq could no longer be used in adding or do a copy
0.15.56:
- fix issue with python -O optimizing away code
0.15.55:
- unmade CommentedSeq a subclass of list. It is now
indirectly a subclass of the standard
collections.abc.MutableSequence (without .abc if you are
still on Python2.7). If you do isinstance(yaml.load('[1, 2]'),
list)) anywhere in your code replace list with
MutableSequence. Directly, CommentedSeq is a subclass of
the abstract baseclass ruamel.yaml.compat.MutableScliceableSequence,
with the result that *(extended) slicing is supported on
CommentedSeq*.
- duplicate keys (or their values) with non-ascii now correctly
report in Python2, instead of raising a Unicode error.
diffstat:
devel/py-ruamel-yaml/Makefile | 4 ++--
devel/py-ruamel-yaml/PLIST | 14 +++++++++++++-
devel/py-ruamel-yaml/distinfo | 10 +++++-----
3 files changed, 20 insertions(+), 8 deletions(-)
diffs (55 lines):
diff -r b457f715b459 -r 53c9ed6b0891 devel/py-ruamel-yaml/Makefile
--- a/devel/py-ruamel-yaml/Makefile Sun Oct 14 16:21:04 2018 +0000
+++ b/devel/py-ruamel-yaml/Makefile Sun Oct 14 16:26:51 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2018/08/14 14:54:26 adam Exp $
+# $NetBSD: Makefile,v 1.9 2018/10/14 16:26:51 adam Exp $
-DISTNAME= ruamel.yaml-0.15.54
+DISTNAME= ruamel.yaml-0.15.72
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/./-/1}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/ruamel.yaml/}
diff -r b457f715b459 -r 53c9ed6b0891 devel/py-ruamel-yaml/PLIST
--- a/devel/py-ruamel-yaml/PLIST Sun Oct 14 16:21:04 2018 +0000
+++ b/devel/py-ruamel-yaml/PLIST Sun Oct 14 16:26:51 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/10/28 08:51:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/10/14 16:26:51 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -28,6 +28,18 @@
${PYSITELIB}/ruamel/yaml/cyaml.py
${PYSITELIB}/ruamel/yaml/cyaml.pyc
${PYSITELIB}/ruamel/yaml/cyaml.pyo
+${PYSITELIB}/ruamel/yaml/data/__init__.py
+${PYSITELIB}/ruamel/yaml/data/__init__.pyc
+${PYSITELIB}/ruamel/yaml/data/__init__.pyo
+${PYSITELIB}/ruamel/yaml/data/__main__.py
+${PYSITELIB}/ruamel/yaml/data/__main__.pyc
+${PYSITELIB}/ruamel/yaml/data/__main__.pyo
+${PYSITELIB}/ruamel/yaml/data/data.py
+${PYSITELIB}/ruamel/yaml/data/data.pyc
+${PYSITELIB}/ruamel/yaml/data/data.pyo
+${PYSITELIB}/ruamel/yaml/data/setup.py
+${PYSITELIB}/ruamel/yaml/data/setup.pyc
+${PYSITELIB}/ruamel/yaml/data/setup.pyo
${PYSITELIB}/ruamel/yaml/dumper.py
${PYSITELIB}/ruamel/yaml/dumper.pyc
${PYSITELIB}/ruamel/yaml/dumper.pyo
diff -r b457f715b459 -r 53c9ed6b0891 devel/py-ruamel-yaml/distinfo
--- a/devel/py-ruamel-yaml/distinfo Sun Oct 14 16:21:04 2018 +0000
+++ b/devel/py-ruamel-yaml/distinfo Sun Oct 14 16:26:51 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2018/08/14 14:54:26 adam Exp $
+$NetBSD: distinfo,v 1.8 2018/10/14 16:26:51 adam Exp $
-SHA1 (ruamel.yaml-0.15.54.tar.gz) = 7edbf7afd5f6a4630385bcb68db862011201c0b1
-RMD160 (ruamel.yaml-0.15.54.tar.gz) = 38cb0ed812c0eb081dc47feaab6e85efde13c439
-SHA512 (ruamel.yaml-0.15.54.tar.gz) = a1dbb1ae8e0d0fb9dfce19597c40ec43b4347adf4e3894c65955cdd4db24313e3104166e344f5e283e4b87374b5996931c6fb68ce9d67c4fee9434b1cd9d1d1f
-Size (ruamel.yaml-0.15.54.tar.gz) = 287986 bytes
+SHA1 (ruamel.yaml-0.15.72.tar.gz) = 7d8675c9a2cfbae50f01a66b1dd90601dd7c848a
+RMD160 (ruamel.yaml-0.15.72.tar.gz) = 93997d1d0e1d5e1810bf20ed33105869cccb202e
+SHA512 (ruamel.yaml-0.15.72.tar.gz) = d5bb6f07ac319da8fd5bd20b5967c256717604e3bc5bf73e660c287dc15eed74169ec20dfee67ef73ee2a32a7f839ec19e7cab30d666bf171475eb32ecba5ea8
+Size (ruamel.yaml-0.15.72.tar.gz) = 309859 bytes
Home |
Main Index |
Thread Index |
Old Index