diff --git a/python-ruamel.yaml.changes b/python-ruamel.yaml.changes index 1e30c1d..642f2be 100644 --- a/python-ruamel.yaml.changes +++ b/python-ruamel.yaml.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Jun 18 04:35:24 UTC 2025 - Johannes Kastl + +- 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 diff --git a/python-ruamel.yaml.spec b/python-ruamel.yaml.spec index 5dcaebe..e9585a6 100644 --- a/python-ruamel.yaml.spec +++ b/python-ruamel.yaml.spec @@ -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 diff --git a/ruamel.yaml-0.18.10.tar.gz b/ruamel.yaml-0.18.10.tar.gz deleted file mode 100644 index d1f339e..0000000 --- a/ruamel.yaml-0.18.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20c86ab29ac2153f80a428e1254a8adf686d3383df04490514ca3b79a362db58 -size 143447 diff --git a/ruamel.yaml-0.18.14.tar.gz b/ruamel.yaml-0.18.14.tar.gz new file mode 100644 index 0000000..bb46f9c --- /dev/null +++ b/ruamel.yaml-0.18.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7227b76aaec364df15936730efbf7d72b30c0b79b1d578bbb8e3dcb2d81f52b7 +size 145511