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 Update devel/py-ruamel-yaml to 0....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/93cb0165e546
branches:  trunk
changeset: 361061:93cb0165e546
user:      leot <leot%pkgsrc.org@localhost>
date:      Fri Apr 14 13:05:06 2017 +0000

description:
Update devel/py-ruamel-yaml to 0.14.6

Changes:
[0, 14, 6]: 2017-04-14
  - binary, octal and hex integers are now preserved by default. This
    was a known deficiency. Working on this was prompted by the issue report (112)
    from devnoname120, as well as the additional experience with `.replace()`
    on `scalarstring` classes.
  - fix issues 114: cannot install on Buildozer (reported by mixmastamyk).
    Setting env. var ``RUAMEL_NO_PIP_INSTALL_CHECK`` will suppress ``pip``-check.

[0, 14, 5]: 2017-04-04
  - fix issue 109: None not dumping correctly at top level (reported by Andrea Censi)
  - fix issue 110: .replace on Preserved/DoubleQuoted/SingleQuoted ScalarString
    would give back "normal" string (reported by sandres23)

[0, 14, 4]: 2017-03-31
  - fix readme

[0, 14, 3]: 2017-03-31
  - fix for 0o52 not being a string in YAML 1.1 (reported on
    `StackOverflow Q&A 43138503><http://stackoverflow.com/a/43138503/1307905>`_ by
    `Frank D <http://stackoverflow.com/users/7796630/frank-d>`_

[0, 14, 2]: 2017-03-23
  - fix for old default pip on Ubuntu 14.04 (reported by S?bastien Maccagnoni-Munch)

0.14.1: 2017-03-22
  - fix Text not available on 3.5.0 and 3.5.1 (reported by Charles Bouchard-L?gar?)

0.14.0: 2017-03-21
  - updates for mypy --strict
  - preparation for moving away from inheritance in Loader and Dumper, calls from e.g.
    the Representer to the Serializer.serialize() are now done via the attribute
    .serializer.serialize(). Usage of .serialize() outside of Serializer will be
    deprecated soon
  - some extra tests on main.py functions

0.13.14: 2017-02-12
  - fix for issue 97: clipped block scalar followed by empty lines and comment
    would result in two CommentTokens of which the first was dropped.
    (reported by Colm O'Connor)

0.13.13: 2017-01-28
  - fix for issue 96: prevent insertion of extra empty line if indented mapping entries
    are separated by an empty line (reported by Derrick Sawyer)

0.13.11: 2017-01-23
  - allow ':' in flow style scalars if not followed by space. Also don't
    quote such scalar as this is no longer necessary.
  - add python 3.6 manylinux wheel to PyPI

0.13.10: 2017-01-22
  - fix for issue 93, insert spurious blank line before single line comment
    between indented sequence elements (reported by Alex)

0.13.9: 2017-01-18
  - fix for issue 92, wrong import name reported by the-corinthian

0.13.8: 2017-01-18
  - fix for issue 91, when a compiler is unavailable reported by Maximilian Hils
  - fix for deepcopy issue with TimeStamps not preserving 'T', reported on
    `StackOverflow Q&A <http://stackoverflow.com/a/41577841/1307905>`_ by
    `Quuxplusone <http://stackoverflow.com/users/1424877/quuxplusone>`_

0.13.7: 2016-12-27
  - fix for issue 85, constructor.py importing unicode_literals caused mypy to fail
    on 2.7 (reported by Peter Amstutz)

0.13.6: 2016-12-27
  - fix for issue 83, collections.OrderedDict not representable by SafeRepresenter
    (reported by Frazer McLean)

0.13.5: 2016-12-25
  - fix for issue 84, deepcopy not properly working (reported by Peter Amstutz)

0.13.4: 2016-12-05
  - another fix for issue 82, change to non-global resolver data broke implicit type
    specification

0.13.3: 2016-12-05
  - fix for issue 82, deepcopy not working (reported by code monk)

0.13.2: 2016-11-28
  - fix for comments after empty (null) values  (reported by dsw2127 and cokelaer)

0.13.1: 2016-11-22
  - optimisations on memory usage when loading YAML from large files (py3: -50%, py2: -85%)

0.13.0: 2016-11-20
  - if ``load()`` or ``load_all()`` is called with only a single argument
    (stream or string)
    a UnsafeLoaderWarning will be issued once. If appropriate you can surpress this
    warning by filtering it. Explicitly supplying the ``Loader=ruamel.yaml.Loader``
    argument, will also prevent it from being issued. You should however consider
    using ``safe_load()``, ``safe_load_all()`` if your YAML input does not use tags.
  - allow adding comments before and after keys (based on
    `StackOveflow Q&A <http://stackoverflow.com/a/40705671/1307905>`_  by
    `msinn <http://stackoverflow.com/users/7185467/msinn>`_)

0.12.18: 2016-11-16
  - another fix for numpy (re-reported independently by PaulG & Nathanial Burdic)

0.12.17: 2016-11-15
  - only the RoundTripLoader included the Resolver that supports YAML 1.2
    now all loaders do (reported by mixmastamyk)

0.12.16: 2016-11-13
  - allow dot char (and many others) in anchor name
    Fix issue 72 (reported by Shalon Wood)
  - Slightly smarter behaviour dumping strings when no style is
    specified. Single string scalars that start with single quotes
    or have newlines now are dumped double quoted: "'abc\nklm'" instead of::

      '''abc

        klm'''

0.12.14: 2016-09-21
 - preserve round-trip sequences that are mapping keys
   (prompted by stackoverflow question 39595807 from Nowox)

0.12.13: 2016-09-15
 - Fix for issue #60 representation of CommentedMap with merge
   keys incorrect (reported by Tal Liron)

0.12.11: 2016-09-06
 - Fix issue 58 endless loop in scanning tokens (reported by
   Christopher Lambert)

0.12.10: 2016-09-05
 - Make previous fix depend on unicode char width (32 bit unicode support
   is a problem on MacOS reported by David Tagatac)

0.12.8: 2016-09-05
  - To be ignored Unicode characters were not properly regex matched
    (no specific tests, PR by Haraguroicha Hsu)

0.12.7: 2016-09-03
  - fixing issue 54 empty lines with spaces (reported by Alex Harvey)

0.12.6: 2016-09-03
  - fixing issue 46 empty lines between top-level keys were gobbled (but
    not between sequence elements, nor between keys in netsted mappings
    (reported by Alex Harvey)

0.12.5: 2016-08-20
  - fixing issue 45 preserving datetime formatting (submitted by altuin)
    Several formatting parameters are preserved with some normalisation:
  - preserve 'T', 't' is replaced by 'T', multiple spaces between date
    and time reduced to one.
  - optional space before timezone is removed
  - still using microseconds, but now rounded (.1234567 -> .123457)
  - Z/-5/+01:00 preserved

0.12.4: 2016-08-19
  - Fix for issue 44: missing preserve_quotes keyword argument (reported
    by M. Crusoe)

0.12.3: 2016-08-17
  - correct 'in' operation for merged CommentedMaps in round-trip mode
    (implementation inspired by J.Ngo, but original not working for merges)
  - iteration over round-trip loaded mappings, that contain merges. Also
    keys(), items(), values() (Py3/Py2) and iterkeys(), iteritems(),
    itervalues(), viewkeys(), viewitems(), viewvalues() (Py2)
  - reuse of anchor name now generates warning, not an error. Round-tripping such
    anchors works correctly. This inherited PyYAML issue was brought to attention
    by G. Coddut (and was long standing https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515634)
    suppressing the warning::

        import warnings
        from ruamel.yaml.error import ReusedAnchorWarning
        warnings.simplefilter("ignore", ReusedAnchorWarning)

0.12.2: 2016-08-16
  - minor improvements based on feedback from M. Crusoe
    https://bitbucket.org/ruamel/yaml/issues/42/

0.12.0: 2016-08-16
  - drop support for Python 2.6
  - include initial Type information (inspired by M. Crusoe)

0.11.15: 2016-08-07
  - Change to prevent FutureWarning in NumPy, as reported by tgehring
    ("comparison to None will result in an elementwise object comparison in the future")

0.11.14: 2016-07-06
  - fix preserve_quotes missing on original Loaders (as reported
    by Leynos, bitbucket issue 38)

0.11.13: 2016-07-06
  - documentation only, automated linux wheels

0.11.12: 2016-07-06
  - added support for roundtrip of single/double quoted scalars using:
    ruamel.yaml.round_trip_load(stream, preserve_quotes=True)

0.11.10: 2016-05-02
  - added .insert(pos, key, value, comment=None) to CommentedMap

0.11.10: 2016-04-19
  - indent=2, block_seq_indent=2 works as expected

0.11.0: 2016-02-18
  - RoundTripLoader loads 1.2 by default (no sexagesimals, 012 octals nor
    yes/no/on/off booleans

diffstat:

 devel/py-ruamel-yaml/Makefile |   6 +++---
 devel/py-ruamel-yaml/PLIST    |  22 ++++++++++++++--------
 devel/py-ruamel-yaml/distinfo |  10 +++++-----
 3 files changed, 22 insertions(+), 16 deletions(-)

diffs (88 lines):

diff -r fa5b76db5731 -r 93cb0165e546 devel/py-ruamel-yaml/Makefile
--- a/devel/py-ruamel-yaml/Makefile     Fri Apr 14 13:04:20 2017 +0000
+++ b/devel/py-ruamel-yaml/Makefile     Fri Apr 14 13:05:06 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2016/05/16 13:52:54 nils Exp $
+# $NetBSD: Makefile,v 1.2 2017/04/14 13:05:06 leot Exp $
 
-DISTNAME=      ruamel.yaml-0.10.23
-PKGNAME=       ${PYPKGPREFIX}-ruamel-yaml-0.10.23
+DISTNAME=      ruamel.yaml-0.14.6
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/./-/1}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/ruamel.yaml/}
 
diff -r fa5b76db5731 -r 93cb0165e546 devel/py-ruamel-yaml/PLIST
--- a/devel/py-ruamel-yaml/PLIST        Fri Apr 14 13:04:20 2017 +0000
+++ b/devel/py-ruamel-yaml/PLIST        Fri Apr 14 13:05:06 2017 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2016/05/16 13:52:54 nils Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/04/14 13:05:06 leot Exp $
 ${PYSITELIB}/_ruamel_yaml.so
 ${PYSITELIB}/${EGG_NAME}-nspkg.pth
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/ruamel/yaml/__init__.py
 ${PYSITELIB}/ruamel/yaml/__init__.pyc
@@ -46,15 +46,12 @@
 ${PYSITELIB}/ruamel/yaml/main.py
 ${PYSITELIB}/ruamel/yaml/main.pyc
 ${PYSITELIB}/ruamel/yaml/main.pyo
-${PYSITELIB}/ruamel/yaml/make_win_whl.py
-${PYSITELIB}/ruamel/yaml/make_win_whl.pyc
-${PYSITELIB}/ruamel/yaml/make_win_whl.pyo
 ${PYSITELIB}/ruamel/yaml/nodes.py
 ${PYSITELIB}/ruamel/yaml/nodes.pyc
 ${PYSITELIB}/ruamel/yaml/nodes.pyo
-${PYSITELIB}/ruamel/yaml/parser_.py
-${PYSITELIB}/ruamel/yaml/parser_.pyc
-${PYSITELIB}/ruamel/yaml/parser_.pyo
+${PYSITELIB}/ruamel/yaml/parser.py
+${PYSITELIB}/ruamel/yaml/parser.pyc
+${PYSITELIB}/ruamel/yaml/parser.pyo
 ${PYSITELIB}/ruamel/yaml/reader.py
 ${PYSITELIB}/ruamel/yaml/reader.pyc
 ${PYSITELIB}/ruamel/yaml/reader.pyo
@@ -64,6 +61,9 @@
 ${PYSITELIB}/ruamel/yaml/resolver.py
 ${PYSITELIB}/ruamel/yaml/resolver.pyc
 ${PYSITELIB}/ruamel/yaml/resolver.pyo
+${PYSITELIB}/ruamel/yaml/scalarint.py
+${PYSITELIB}/ruamel/yaml/scalarint.pyc
+${PYSITELIB}/ruamel/yaml/scalarint.pyo
 ${PYSITELIB}/ruamel/yaml/scalarstring.py
 ${PYSITELIB}/ruamel/yaml/scalarstring.pyc
 ${PYSITELIB}/ruamel/yaml/scalarstring.pyo
@@ -73,6 +73,12 @@
 ${PYSITELIB}/ruamel/yaml/serializer.py
 ${PYSITELIB}/ruamel/yaml/serializer.pyc
 ${PYSITELIB}/ruamel/yaml/serializer.pyo
+${PYSITELIB}/ruamel/yaml/timestamp.py
+${PYSITELIB}/ruamel/yaml/timestamp.pyc
+${PYSITELIB}/ruamel/yaml/timestamp.pyo
 ${PYSITELIB}/ruamel/yaml/tokens.py
 ${PYSITELIB}/ruamel/yaml/tokens.pyc
 ${PYSITELIB}/ruamel/yaml/tokens.pyo
+${PYSITELIB}/ruamel/yaml/util.py
+${PYSITELIB}/ruamel/yaml/util.pyc
+${PYSITELIB}/ruamel/yaml/util.pyo
diff -r fa5b76db5731 -r 93cb0165e546 devel/py-ruamel-yaml/distinfo
--- a/devel/py-ruamel-yaml/distinfo     Fri Apr 14 13:04:20 2017 +0000
+++ b/devel/py-ruamel-yaml/distinfo     Fri Apr 14 13:05:06 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/05/16 13:52:54 nils Exp $
+$NetBSD: distinfo,v 1.2 2017/04/14 13:05:06 leot Exp $
 
-SHA1 (ruamel.yaml-0.10.23.tar.gz) = 27ff470ddad64a27f3b446a6128988d25329919a
-RMD160 (ruamel.yaml-0.10.23.tar.gz) = e524d7bf02ffc14bc0fc9bf41bfbb509ba6aa4e8
-SHA512 (ruamel.yaml-0.10.23.tar.gz) = ec92568569ab74b560ac443412216f961c927fbf5dd21fa2057247c095e95cdbfa1f965a9d3d006a0fcd39cd99bbe829f129ca85593584bcc1ca02042f9b641e
-Size (ruamel.yaml-0.10.23.tar.gz) = 228575 bytes
+SHA1 (ruamel.yaml-0.14.6.tar.gz) = 53f1d9adc43e6c8c925792bcd5800070adaf98a9
+RMD160 (ruamel.yaml-0.14.6.tar.gz) = b0352fd8575c1699d720e44145f570380e135b74
+SHA512 (ruamel.yaml-0.14.6.tar.gz) = a815b1c655b175c7f5a3f80dd6a914c143056df2cd2bf3220191d61e9f757181411b89d0d9b7d56197db0a0fc3dda702f9a1b4fac26270a4a2af4c42398b7a18
+Size (ruamel.yaml-0.14.6.tar.gz) = 239831 bytes



Home | Main Index | Thread Index | Old Index