15
0

Accepting request 1188977 from home:glaubitz:branches:devel:languages:python

- Cherry-pick upstream patch to fix build with Python 3.13
  * fix-python3.13-ftbfs.patch

OBS-URL: https://build.opensuse.org/request/show/1188977
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Deprecated?expand=0&rev=20
This commit is contained in:
2024-07-22 10:16:19 +00:00
committed by Git OBS Bridge
parent 499f7b022f
commit dae705cf64
3 changed files with 52 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Deprecated
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/tantale/deprecated
Source: https://files.pythonhosted.org/packages/source/D/Deprecated/Deprecated-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - gh#tantale/deprecated/73 - Update class method deprecation warnings for Python 3.13
Patch: https://github.com/tantale/deprecated/pull/73.patch#/fix-python3.13-ftbfs.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wrapt >= 1.10}
@@ -42,6 +44,7 @@ you can use the ``@deprecated`` decorator.
%prep
%setup -q -n Deprecated-%{version}
%patch -P0 -p1
%build
%python_build