Compare commits

..

2 commits

Author SHA1 Message Date
Ondrej Mosnáček
cdec57db9d
Update to version 0.19.1 (fedora#2426465)
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2026-01-05 17:24:24 +01:00
Ondrej Mosnáček
d39270652a
Update to version 0.18.17 (fedora#2423406)
Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
2025-12-18 08:58:54 +01:00
2 changed files with 11 additions and 10 deletions

View file

@ -2,7 +2,7 @@
%bcond_with bootstrap
Name: python-ruamel-yaml
Version: 0.18.16
Version: 0.19.1
Release: %autorelease
Summary: YAML 1.2 loader/dumper package for Python
@ -28,20 +28,19 @@ BuildRequires: python3-pytest
%py_provides python3-ruamel.yaml
%if !%{with bootstrap}
# ruamel.yaml.clibz is not available in Fedora (and probably never will
# be), so require the old clib backend
Requires: python3-ruamel-yaml+oldlibyaml = %{version}-%{release}
%endif
%description -n python3-ruamel-yaml %{_description}
%prep
%autosetup -n ruamel.yaml-%{version}
# Upstream upper-bounds the Python interpeter versions with which the C
# implementation (ruamel.yaml.clib dependency) may be used. Patch this out.
sed -r -i 's/( and python_version<"[^"]+")(.*ruamel\.yaml\.clib)/\2/' \
__init__.py
%if %{with bootstrap}
sed -r -i 's/^([[:blank:]]*)(.*ruamel\.yaml\.clib)/\1# \2/' __init__.py
%endif
%generate_buildrequires
%pyproject_buildrequires
%pyproject_buildrequires %{!?with_bootstrap:-x oldlibyaml}
%build
%pyproject_wheel
@ -63,5 +62,7 @@ k="${k-}${k+ and }not test_dump_cyaml_1_2"
%files -n python3-ruamel-yaml -f %{pyproject_files}
%doc README.md
%pyproject_extras_subpkg -n python3-ruamel-yaml oldlibyaml
%changelog
%autochangelog

View file

@ -1 +1 @@
SHA512 (ruamel.yaml-0.18.16.tar.xz) = 1d4c28c6769167d044cfc506035a0d7e13b533ecbfa2287b00035e9036c400c9cbd86fa96921a7e6a9c9b286f9bf4970637a09d4747c5bf7315b37db353720f6
SHA512 (ruamel.yaml-0.19.1.tar.xz) = bf9eb8e40f506d6f3f34aee5f5ec74eb93bfda2b27022f6ad62dfac724b9e0847d61e3159d284bada7dec147992aaf509804f7139818de5bc85aa328bc32601f