forked from pool/python-ruamel.yaml
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7d83398924 | |||
| 0ebd6e5ef9 |
@@ -1,36 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
Mon Feb 24 10:16:18 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -18,16 +18,14 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-ruamel.yaml
|
Name: python-ruamel.yaml
|
||||||
Version: 0.18.14
|
Version: 0.18.10
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python YAML parser
|
Summary: Python YAML parser
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://sourceforge.net/p/ruamel-yaml
|
URL: https://sourceforge.net/p/ruamel-yaml
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml-%{version}.tar.gz
|
||||||
Patch0: 0000-fix-big-endian-issues.patch
|
Patch0: 0000-fix-big-endian-issues.patch
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-ruamel.yaml.clib >= 0.2.0
|
Requires: python-ruamel.yaml.clib >= 0.2.0
|
||||||
@@ -40,25 +38,19 @@ of comments, seq/map flow style, and map key order.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n ruamel.yaml-%{version}
|
%autosetup -p1 -n ruamel.yaml-%{version}
|
||||||
|
rm -rf *egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install --single-version-externally-managed
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
# no tests in the upstream tarball
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES README.md
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%doc CHANGES README.md
|
||||||
%{python_sitelib}/ruamel
|
%{python_sitelib}/ruamel
|
||||||
%if 0%{?suse_version} >= 1600
|
%{python_sitelib}/ruamel.yaml-%{version}*-info
|
||||||
%{python_sitelib}/ruamel_yaml-%{version}.dist-info
|
|
||||||
%else
|
|
||||||
%{python_sitelib}/ruamel.yaml-%{version}.dist-info
|
|
||||||
%endif
|
|
||||||
%pycache_only %{python_sitelib}/ruamel/yaml/__pycache__/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
BIN
ruamel.yaml-0.18.10.tar.gz
LFS
Normal file
BIN
ruamel.yaml-0.18.10.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7227b76aaec364df15936730efbf7d72b30c0b79b1d578bbb8e3dcb2d81f52b7
|
|
||||||
size 145511
|
|
||||||
Reference in New Issue
Block a user