- Add patch support-python-313.patch:

* Support Python 3.13 by not using unittest.makeSuite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-xmp-toolkit?expand=0&rev=3
This commit is contained in:
2025-01-10 03:44:26 +00:00
committed by Git OBS Bridge
parent c7fea6a358
commit de2730a313
3 changed files with 63 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-xmp-toolkit
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,9 +22,10 @@ Version: 2.0.2
Release: 0
Summary: Python XMP Toolkit for working with metadata
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/python-xmp-toolkit/python-xmp-toolkit
Source: https://files.pythonhosted.org/packages/source/p/python-xmp-toolkit/python-xmp-toolkit-%{version}.tar.gz
# PATCH-FIX-UPSTREAM Based on one commit of gh#python-xmp-toolkit/python-xmp-toolkit#96
Patch0: support-python-313.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -54,13 +55,11 @@ A Python XMP Toolkit for working with metadata.
%check
%pytest -k 'not (test_single_namspace_single_path_leaf_names or test_exempi or test_files)'
#%%pyunittest -v
%files %{python_files}
%doc AUTHORS CHANGELOG README.rst
%license LICENSE
#%%{python_sitelib}/python_xmp_toolkit
%{python_sitelib}/python_xmp_toolkit-%{version}.dist-info
%{python_sitelib}/libxmp
%{python_sitelib}/python_xmp_toolkit-%{version}.dist-info
%changelog