Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c0a26e8e8e | |||
| 505fd02af0 | |||
| 3b809c3af3 | |||
| 323d9c2da8 | |||
| c04c99e095 | |||
| 16abe536f8 |
@@ -1,33 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Dec 19 01:56:36 UTC 2025 - Mia Herkt <mia@0x0.st>
|
|
||||||
|
|
||||||
- Update to 2.9.2
|
|
||||||
* Make AnalyseLayout interruptible
|
|
||||||
gh#sirfz/tesserocr#382
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Oct 10 16:08:51 UTC 2025 - Mia Herkt <mia@0x0.st>
|
|
||||||
|
|
||||||
- Update to 2.9.1
|
|
||||||
No relevant changes.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Oct 9 20:40:28 UTC 2025 - Mia Herkt <mia@0x0.st>
|
|
||||||
|
|
||||||
- Drop unpin-cython.patch
|
|
||||||
but make version range explicit in BuildRequires
|
|
||||||
- Update to 2.9.0
|
|
||||||
* fix: update test, make it pass
|
|
||||||
gh#sirfz/tesserocr#364
|
|
||||||
* Improve stub file
|
|
||||||
gh#sirfz/tesserocr#371
|
|
||||||
* Convert more exceptions
|
|
||||||
gh#sirfz/tesserocr#365
|
|
||||||
* Drop python2 support
|
|
||||||
gh#sirfz/tesserocr#377
|
|
||||||
* All words error handling
|
|
||||||
gh#sirfz/tesserocr#378
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 4 14:15:13 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
Mon Aug 4 14:15:13 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tesserocr
|
# spec file for package python-tesserocr
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,13 +18,16 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-tesserocr
|
Name: python-tesserocr
|
||||||
Version: 2.9.2
|
Version: 2.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python wrapper around tesseract-ocr
|
Summary: A Python wrapper around tesseract-ocr
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/sirfz/tesserocr
|
URL: https://github.com/sirfz/tesserocr
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesserocr-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesserocr-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Cython3 < 3.2.0}
|
#PATCH-FIX-OPENSUSE unpin-cython.patch
|
||||||
|
Patch: unpin-cython.patch
|
||||||
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
@@ -64,7 +67,7 @@ GIL while processing an image in tesseract.
|
|||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export TESSDATA_PREFIX=%{_datadir}/tessdata
|
export TESSDATA_PREFIX=/usr/share/tessdata
|
||||||
%python_exec setup.py develop --user
|
%python_exec setup.py develop --user
|
||||||
# test_LSTM_choices failure: https://github.com/sirfz/tesserocr/issues/214
|
# test_LSTM_choices failure: https://github.com/sirfz/tesserocr/issues/214
|
||||||
# https://github.com/sirfz/tesserocr/issues/295
|
# https://github.com/sirfz/tesserocr/issues/295
|
||||||
|
|||||||
3
tesserocr-2.8.0.tar.gz
Normal file
3
tesserocr-2.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be518d1b1b5ff54c11aada1e0fd12942509ea70581e0a8b39a2a473a0b2dbd36
|
||||||
|
size 72564
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2fa1fe3c79575d6fd5b527785e773fa19b055f07f922feb2ac9d6c1e62233522
|
|
||||||
size 72051
|
|
||||||
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