17
0

2 Commits

4 changed files with 50 additions and 9 deletions

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Jun 18 04:35:24 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- converted to `%pyproject_wheel` / `%pyproject_install`
- update to 0.18.14:
* Fix issue with constructing dataclasses that have a default
factoryi attribute, but were missing a mapping value for that
attribute.
* the tagged release tar files can now also be downloaded from
https://yaml.dev/ruamel-dl-tagged-releases/ please adjust if
you use
https://sourceforge.net/projects/ruamel-dl-tagged-releases/files/
as that repository in sourceforge will no longer be updated
from some later date.
- update to 0.18.13:
* Fix line wrapping on plain scalars not observing width
correctly. Issue 529
* Fix sha256 and length in RECORD files.
- update to 0.18.12:
* fix additional issue with extra space in double quoted string.
* fix duplicate key url, now pointing to yaml.dev. Reported by
[Hugo](https://sourceforge.net/u/hugovk/profile/)
* fix broken RECORD file, which was a problem for uv, not pip.
- update to 0.18.11:
* function `load_yaml_guess_indent` now takes an option `yaml`
argument so you can provide an already created/configured
`YAML` instance
* Sequence item indicator with both comment/empty line before
indicator **and** comment before sequence item, could not move
comment and raise `NotImplementedError`.
* missing f for f-string
* fixed issue with extra space in double quoted dump
-------------------------------------------------------------------
Mon Feb 24 10:16:18 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-ruamel.yaml
Version: 0.18.10
Version: 0.18.14
Release: 0
Summary: Python YAML parser
License: MIT
URL: https://sourceforge.net/p/ruamel-yaml
Source: https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml-%{version}.tar.gz
Patch0: 0000-fix-big-endian-issues.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ruamel.yaml.clib >= 0.2.0
@@ -38,19 +40,25 @@ of comments, seq/map flow style, and map key order.
%prep
%autosetup -p1 -n ruamel.yaml-%{version}
rm -rf *egg-info
%build
%python_build
%pyproject_wheel
%install
%python_install --single-version-externally-managed
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no tests in the upstream tarball
%files %{python_files}
%license LICENSE
%doc CHANGES README.md
%license LICENSE
%{python_sitelib}/ruamel
%{python_sitelib}/ruamel.yaml-%{version}*-info
%if 0%{?suse_version} >= 1600
%{python_sitelib}/ruamel_yaml-%{version}.dist-info
%else
%{python_sitelib}/ruamel.yaml-%{version}.dist-info
%endif
%pycache_only %{python_sitelib}/ruamel/yaml/__pycache__/
%changelog

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7227b76aaec364df15936730efbf7d72b30c0b79b1d578bbb8e3dcb2d81f52b7
size 145511