From 3c1a865510f856f505a5902f80d6c98e5896a398d0d3cc0196cfdf927d33d17f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 13 Jul 2025 14:40:21 +0000 Subject: [PATCH] - update to 25.7.0: * tests: still match module in addition to class name OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyaml?expand=0&rev=31 --- .gitattributes | 23 +++++++++ .gitignore | 1 + pyaml-24.4.0.tar.gz | 3 ++ pyaml-24.7.0.tar.gz | 3 ++ pyaml-24.9.0.tar.gz | 3 ++ pyaml-25.1.0.tar.gz | 3 ++ pyaml-25.5.0.tar.gz | 3 ++ pyaml-25.7.0.tar.gz | 3 ++ python-pyaml.changes | 116 +++++++++++++++++++++++++++++++++++++++++++ python-pyaml.spec | 72 +++++++++++++++++++++++++++ 10 files changed, 230 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pyaml-24.4.0.tar.gz create mode 100644 pyaml-24.7.0.tar.gz create mode 100644 pyaml-24.9.0.tar.gz create mode 100644 pyaml-25.1.0.tar.gz create mode 100644 pyaml-25.5.0.tar.gz create mode 100644 pyaml-25.7.0.tar.gz create mode 100644 python-pyaml.changes create mode 100644 python-pyaml.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pyaml-24.4.0.tar.gz b/pyaml-24.4.0.tar.gz new file mode 100644 index 0000000..865d74f --- /dev/null +++ b/pyaml-24.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e483d9289010e747a325dc43171bcc39d6562dd1dd4719e8cc7e7c96c99fce6 +size 27204 diff --git a/pyaml-24.7.0.tar.gz b/pyaml-24.7.0.tar.gz new file mode 100644 index 0000000..ffb7932 --- /dev/null +++ b/pyaml-24.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d0fdf9e681036fb263a783d0298fc3af580a6e2a6cf1a3314ffc48dc3d91ccb +size 27935 diff --git a/pyaml-24.9.0.tar.gz b/pyaml-24.9.0.tar.gz new file mode 100644 index 0000000..23792b3 --- /dev/null +++ b/pyaml-24.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e78dee8b0d4fed56bb9fa11a8a7858e6fade1ec70a9a122cee6736efac3e69b5 +size 28111 diff --git a/pyaml-25.1.0.tar.gz b/pyaml-25.1.0.tar.gz new file mode 100644 index 0000000..91c85ff --- /dev/null +++ b/pyaml-25.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33a93ac49218f57e020b81e280d2706cea554ac5a76445ac79add760d019c709 +size 29469 diff --git a/pyaml-25.5.0.tar.gz b/pyaml-25.5.0.tar.gz new file mode 100644 index 0000000..8ba7f09 --- /dev/null +++ b/pyaml-25.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5799560c7b1c9daf35a7a4535f53e2c30323f74cbd7cb4f2e715b16dd681a58a +size 29812 diff --git a/pyaml-25.7.0.tar.gz b/pyaml-25.7.0.tar.gz new file mode 100644 index 0000000..d02aa92 --- /dev/null +++ b/pyaml-25.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e113a64ec16881bf2b092e2beb84b7dcf1bd98096ad17f5f14e8fb782a75d99b +size 29814 diff --git a/python-pyaml.changes b/python-pyaml.changes new file mode 100644 index 0000000..9147253 --- /dev/null +++ b/python-pyaml.changes @@ -0,0 +1,116 @@ +------------------------------------------------------------------- +Sun Jul 13 14:39:52 UTC 2025 - Dirk Müller + +- update to 25.7.0: + * tests: still match module in addition to class name + +------------------------------------------------------------------- +Wed Jun 11 05:49:27 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + +------------------------------------------------------------------- +Thu May 29 08:16:08 UTC 2025 - Dirk Müller + +- update to 25.5.0: + * Fix repr_unknown logic for not splitting long values affecting + all plain strings + Only intended to keep e.g. " # python SomeType" + values that have comments in them oneline, not all plain + strings. + +------------------------------------------------------------------- +Tue Apr 22 12:19:15 UTC 2025 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Tue Feb 4 18:55:29 UTC 2025 - Dirk Müller + +- update to 25.1.0: + * https://github.com/mk-fg/pretty-yaml/compare/24.9.0...25.1.0 + +------------------------------------------------------------------- +Wed Nov 20 15:17:02 UTC 2024 - Dirk Müller + +- update to 24.9.0: + * vspacing.oneline_split: fix splitting list items starting with + "-key + +------------------------------------------------------------------- +Sat Aug 31 12:24:46 UTC 2024 - Dirk Müller + +- update to 24.7.0: + * cli.vspacing: add optional "s" flag for oneline_split=True + * vspacing: keep long all-oneliner blocks together by default, + unless oneline_split is specified + +------------------------------------------------------------------- +Sun Apr 21 08:43:20 UTC 2024 - Dirk Müller + +- update to 24.4.0: + * cli: suppress BrokenPipe tracebacks for closed stdout + * cli: support multi-doc input/output, add -l/--lines option + to pretty-print json logs and such + * README: correct simplier -> simpler misspelling + +------------------------------------------------------------------- +Tue Jan 9 21:48:48 UTC 2024 - Dirk Müller + +- update to 23.12.0: + * no upstream changelog + +------------------------------------------------------------------- +Sat Dec 11 11:38:39 UTC 2021 - Ben Greiner + +- update to 21.10.1 + * no changelog +- fit for python310 + +------------------------------------------------------------------- +Thu May 27 08:41:55 UTC 2021 - pgajdos@suse.com + +- version update to 20.4.0 + * no upstream changelog found +- %check: use %pytest rpm macro + +------------------------------------------------------------------- +Thu Mar 19 10:22:04 UTC 2020 - Marketa Calabkova + +- Update to version 20.3.1 + * Add -r/--replace command-line option + +------------------------------------------------------------------- +Wed May 15 17:37:38 UTC 2019 - Gary Smith + +- Update to version 19.4.1 + * no changelog available + +------------------------------------------------------------------- +Mon Sep 10 12:27:33 UTC 2018 - Jan Engelhardt + +- Trim bias from description. Use noun phrasing. + +------------------------------------------------------------------- +Fri Aug 31 10:43:07 UTC 2018 - Martin Pluskal + +- Update to version 17.12.1: + * Internal changes +- Drop some useless dependencies and conditions + +------------------------------------------------------------------- +Fri Nov 10 04:23:04 UTC 2017 - arun@gmx.de + +- update to version 17.10.0: + * README: add link to ruamel.yaml module as a parser counterpart + +- changes from version 17.8.0: + * Represent numpy arrays as lists, as per #24 + +- changes from version 17.7.2: + * allow line width to be passed in throguh cli + +------------------------------------------------------------------- +Thu May 18 15:04:04 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-pyaml.spec b/python-pyaml.spec new file mode 100644 index 0000000..a4076f2 --- /dev/null +++ b/python-pyaml.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-pyaml +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-pyaml +Version: 25.7.0 +Release: 0 +Summary: Python module to produce formatted YAML-serialized data +License: WTFPL +URL: https://github.com/mk-fg/pretty-yaml +Source: https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-%{version}.tar.gz +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module Unidecode} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-PyYAML +Recommends: python-Unidecode +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%python_subpackages + +%description +PyYAML-based python module to produce formatted YAML-serialized data. + +%prep +%setup -q -n pyaml-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}/%{_bindir}/pyaml +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%post +%python_install_alternative pyaml + +%postun +%python_uninstall_alternative pyaml + +%files %{python_files} +%license COPYING +%doc README.rst +%python_alternative %{_bindir}/pyaml +%{python_sitelib}/pyaml +%{python_sitelib}/pyaml-%{version}.dist-info + +%changelog