forked from pool/python-tesserocr
Accepting request 1297803 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1297803 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=22
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 4 14:15:13 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||
|
||||
- add unpin-cython.patch to unpin cython version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 10 15:10:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@@ -25,6 +25,8 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/sirfz/tesserocr
|
||||
Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesserocr-%{version}.tar.gz
|
||||
#PATCH-FIX-OPENSUSE unpin-cython.patch
|
||||
Patch: unpin-cython.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module devel}
|
||||
@@ -55,7 +57,7 @@ execution when used with Python's threading module by releasing the
|
||||
GIL while processing an image in tesseract.
|
||||
|
||||
%prep
|
||||
%setup -q -n tesserocr-%{version}
|
||||
%autosetup -p1 -n tesserocr-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
13
unpin-cython.patch
Normal file
13
unpin-cython.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: tesserocr-2.8.0/setup.py
|
||||
===================================================================
|
||||
--- tesserocr-2.8.0.orig/setup.py
|
||||
+++ tesserocr-2.8.0/setup.py
|
||||
@@ -318,7 +318,7 @@ setup(
|
||||
cmdclass={"build_ext": my_build_ext},
|
||||
ext_modules=[make_extension()],
|
||||
test_suite="tests",
|
||||
- setup_requires=["Cython>=0.23,<3.1.0"],
|
||||
+ setup_requires=["Cython>=0.23"],
|
||||
packages=["tesserocr"],
|
||||
package_dir={"tesserocr": "tesserocr"},
|
||||
)
|
Reference in New Issue
Block a user