17
0

- Update to 0.13.0:

* No upstream changelog.
- Add patch support-python314.patch:
  * Support Python 3.14 ast changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.std.pathlib?expand=0&rev=15
This commit is contained in:
2025-12-09 04:18:42 +00:00
committed by Git OBS Bridge
parent af4937558d
commit d38d38dadd
5 changed files with 56 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ruamel.std.pathlib
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,14 @@
Name: python-ruamel.std.pathlib
Version: 0.12.0
Version: 0.13.0
Release: 0
Summary: Improvements over the standard pathlib module and pathlib2 package
License: MIT
URL: https://sourceforge.net/projects/ruamel-std-pathlib/
Source: https://files.pythonhosted.org/packages/source/r/ruamel.std.pathlib/ruamel.std.pathlib-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Support Python 3.14 ast changes
Patch0: support-python314.patch
BuildRequires: %{python_module orjson}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -38,7 +40,7 @@ BuildArch: noarch
Improvements over the standard pathlib module and pathlib2 package.
%prep
%setup -q -n ruamel.std.pathlib-%{version}
%autosetup -p1 -n ruamel.std.pathlib-%{version}
%build
%pyproject_wheel
@@ -49,12 +51,11 @@ export RUAMEL_NO_PIP_INSTALL_CHECK=1
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE
%dir %{python_sitelib}/ruamel
%dir %{python_sitelib}/ruamel/std
%{python_sitelib}/ruamel/std/pathlib
%{python_sitelib}/ruamel.std.pathlib-%{version}-py3*-nspkg.pth
%{python_sitelib}/ruamel_std_pathlib-%{version}.dist-info
%changelog