14
0

Accepting request 1110636 from home:mcalabkova:branches:devel:languages:python

- Add patch cython3.patch to fix build

OBS-URL: https://build.opensuse.org/request/show/1110636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imagecodecs?expand=0&rev=23
This commit is contained in:
2023-09-13 07:39:12 +00:00
committed by Git OBS Bridge
parent 9b87025fae
commit 502793a086
3 changed files with 124 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ URL: https://github.com/cgohlke/imagecodecs/
Source: https://files.pythonhosted.org/packages/source/i/imagecodecs/imagecodecs-%{version}.tar.gz
Source1: imagecodecs_distributor_setup.py
Patch0: always-cythonize.patch
# PATCH-FIX-UPSTREAM https://github.com/cgohlke/imagecodecs/commit/14bb6012a8c9f48df264ea996f3376e57166201a Update imagecodecs/_heif.pyx
Patch1: cython3.patch
BuildRequires: %{python_module Cython >= 0.29.19}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module numpy-devel}