From c42a7b7d973bd4c3b5c4c1dc029edad6efbd397c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 26 Mar 2021 15:12:27 +0200 Subject: python3-ruamel-yaml: Upgrade 0.16.13 -> 0.17.0 Upgrade to release 0.17.0: - this release no longer supports Python 2.7, most if not all Python 2 specific code is removed. The 0.17.x series is the last to support Python 3.5 (this also allowed for removal of the dependency on ``ruamel.std.pathlib``) - remove Python2 specific code branches and adaptations (u-strings) - prepare % code for f-strings using ``_F`` - allow PyOxidisation - replaced Python 2 compatible enforcement of keyword arguments with '*' - the old top level *functions* ``load``, ``safe_load``, ``round_trip_load``, ``dump``, ``safe_dump``, ``round_trip_dump``, ``scan``, ``parse``, ``compose``, ``emit``, ``serialize`` as well as their ``_all`` variants for multi-document streams, now issue a ``PendingDeprecationning`` (e.g. when run from pytest, but also Python is started with ``-Wd``). Use the methods on ``YAML()``, which have been extended. - fix for issue 376: indentation changes could put literal/folded scalar to start before the ``#`` column of a following comment. Effectively making the comment part of the scalar in the output. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-ruamel-yaml_0.17.0.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.0.bb (limited to 'meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.0.bb b/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.0.bb new file mode 100644 index 0000000000..fd99f8566f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order." +AUTHOR = "Anthon van der Neut" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fa0a51dfb461e2f803969e0f3fa71dfe" + +PYPI_PACKAGE = "ruamel.yaml" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI[sha256sum] = "3572505e63dd35b5dea62cd0386d03c4f2a53da29a3af09f428114cc85c564aa" + +do_install_prepend() { + export RUAMEL_NO_PIP_INSTALL_CHECK=1 +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf