!12 Upgrade to latest release [python-ruamel-yaml -> 0.17.32]

From: @Jason_828e 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2023-07-31 07:07:41 +00:00 committed by Gitee
commit a7e4d9949e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 25 additions and 16 deletions

View File

@ -5,21 +5,24 @@ Forwarded: not-needed
As the cpython code has an endianness bug https://sourceforge.net/p/ruamel-yaml/tickets/360/ As the cpython code has an endianness bug https://sourceforge.net/p/ruamel-yaml/tickets/360/
Thanks to Rebecca N. Palmer for the tip about sys.byteorder! Thanks to Rebecca N. Palmer for the tip about sys.byteorder!
---
main.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Index: ruamel.yaml/main.py diff --git a/main.py b/main.py
=================================================================== index 9068282..49e70a4 100644
--- ruamel.yaml.orig/main.py 2021-10-14 00:10:27.265523204 +0200 --- a/main.py
+++ ruamel.yaml/main.py 2021-10-14 00:11:02.469504291 +0200 +++ b/main.py
@@ -51,7 +51,7 @@ @@ -55,7 +55,7 @@ class YAML:
self: Any,
*,
class YAML: typ: Optional[Union[List[Text], Text]] = None,
- def __init__(self, *, typ=None, pure=False, output=None, plug_ins=None): # input=None, - pure: Any = False,
+ def __init__(self, *, typ=None, pure=None, output=None, plug_ins=None): # input=None, + pure: Any = None,
# type: (Any, Optional[Text], Any, Any, Any) -> None output: Any = None,
""" plug_ins: Any = None,
typ: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default) ) -> None: # input=None,
@@ -64,6 +64,11 @@ @@ -70,6 +70,11 @@ class YAML:
""" """
self.typ = ['rt'] if typ is None else (typ if isinstance(typ, list) else [typ]) self.typ = ['rt'] if typ is None else (typ if isinstance(typ, list) else [typ])
@ -31,3 +34,6 @@ Index: ruamel.yaml/main.py
self.pure = pure self.pure = pure
# self._input = input # self._input = input
--
2.39.1

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-ruamel-yaml Name: python-ruamel-yaml
Version: 0.17.21 Version: 0.17.32
Release: 1 Release: 1
Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order
License: MIT License: MIT
URL: https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree URL: https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree
Source0: https://files.pythonhosted.org/packages/46/a9/6ed24832095b692a8cecc323230ce2ec3480015fbfa4b79941bd41b23a3c/ruamel.yaml-0.17.21.tar.gz Source0: https://files.pythonhosted.org/packages/63/dd/b4719a290e49015536bd0ab06ab13e3b468d8697bec6c2f668ac48b05661/ruamel.yaml-0.17.32.tar.gz
BuildArch: noarch BuildArch: noarch
Patch0001: 0000-fix-big-endian-issues.patch Patch0001: 0000-fix-big-endian-issues.patch
%description %description
@ -80,6 +80,9 @@ mv %{buildroot}/doclist.lst .
%doc README.rst CHANGES %doc README.rst CHANGES
%changelog %changelog
* Fri Jul 14 2023 chenzixuan <chenzixuan@kylinos.cn> - 0.17.32-1
- Upgrade python3-ruamel-yaml to version 0.17.32
* Sat Jun 04 2022 OpenStack_SIG <openstack@openeuler.org> - 0.17.21-1 * Sat Jun 04 2022 OpenStack_SIG <openstack@openeuler.org> - 0.17.21-1
- Upgrade python3-ruamel-yaml to version 0.17.21 - Upgrade python3-ruamel-yaml to version 0.17.21

Binary file not shown.

BIN
ruamel.yaml-0.17.32.tar.gz Normal file

Binary file not shown.