14
0

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

- Cherry-pick upstream patch to fix compatibility with Python 3.13
  * replace-private-function.patch

OBS-URL: https://build.opensuse.org/request/show/1190485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=33
This commit is contained in:
2024-07-30 20:06:37 +00:00
committed by Git OBS Bridge
parent 8b816cac44
commit 3164fd84d4
3 changed files with 45 additions and 0 deletions

View File

@@ -25,6 +25,8 @@ License: MIT
Group: Development/Languages/Python
URL: http://github.com/tobgu/pyrsistent/
Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrsistent-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - gh/tobgu/pyrsistent#284 - Replace _PyList_Extend with PyList_SetSlice
Patch: https://patch-diff.githubusercontent.com/raw/tobgu/pyrsistent/pull/284.patch#/replace-private-function.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip}
@@ -47,6 +49,7 @@ is left untouched.
%prep
%setup -q -n pyrsistent-%{version}
%patch -P0 -p1
%build
export CFLAGS="%{optflags}"