15
0

Compare commits

12 Commits

Author SHA256 Message Date
b368bcc66c Accepting request 1324423 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1324423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=25
2025-12-26 13:37:47 +00:00
e3529bef87 - Update to 2.9.2
* Make AnalyseLayout interruptible
    gh#sirfz/tesserocr#382

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=52
2025-12-19 02:00:26 +00:00
98122d359f Accepting request 1310620 from devel:languages:python
- Update to 2.9.1
  No relevant changes.

OBS-URL: https://build.opensuse.org/request/show/1310620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=24
2025-10-11 20:50:04 +00:00
faf76c816e - Update to 2.9.1
No relevant changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=50
2025-10-10 18:12:23 +00:00
3c2303d059 Accepting request 1310399 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1310399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=23
2025-10-10 15:09:56 +00:00
3d02680eb5 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=48
2025-10-09 21:12:58 +00:00
1e9a8e981f 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
2025-08-06 12:34:02 +00:00
1ae90da3b2 - add unpin-cython.patch to unpin cython version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=46
2025-08-05 17:04:41 +00:00
51f5b86205 Accepting request 1251863 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1251863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=21
2025-03-11 19:44:39 +00:00
e1e6e69296 - Update to 2.8.0
* Build Python 3.13 wheels by @nijel in (#357)
  * chore(ci): Modernize wheel builds by @nijel in (#362)
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=44
2025-03-10 18:03:11 +00:00
a7e1db4dff Accepting request 1202582 from devel:languages:python
- update to 2.7.1:
  * bugfix: `set_leptonica_log_level` expects int
  * revert: disable tesseract's logging by default

OBS-URL: https://build.opensuse.org/request/show/1202582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=20
2024-09-23 13:23:52 +00:00
7fccd36a78 - update to 2.7.1:
* bugfix: `set_leptonica_log_level` expects int
  * revert: disable tesseract's logging by default

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=42
2024-09-23 09:21:14 +00:00
4 changed files with 67 additions and 11 deletions

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
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>
- add unpin-cython.patch to unpin cython version
-------------------------------------------------------------------
Mon Mar 10 15:10:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.8.0
* Build Python 3.13 wheels by @nijel in (#357)
* chore(ci): Modernize wheel builds by @nijel in (#362)
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Mon Sep 23 09:20:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.7.1:
* bugfix: `set_leptonica_log_level` expects int
* revert: disable tesseract's logging by default
-------------------------------------------------------------------
Sun Apr 28 15:30:33 UTC 2024 - Mia Herkt <mia@0x0.st>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tesserocr
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,19 +16,21 @@
#
%{?sle15_python_module_pythons}
Name: python-tesserocr
Version: 2.7.0
Version: 2.9.2
Release: 0
Summary: A Python wrapper around tesseract-ocr
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
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module Cython3 < 3.2.0}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
@@ -52,17 +54,17 @@ 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
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%fdupes %{buildroot}
%check
export TESSDATA_PREFIX=/usr/share/tessdata
export TESSDATA_PREFIX=%{_datadir}/tessdata
%python_exec setup.py develop --user
# test_LSTM_choices failure: https://github.com/sirfz/tesserocr/issues/214
# https://github.com/sirfz/tesserocr/issues/295

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45c093630337d01a6a8f977a246ad6d732eb11f2e072bb226d59ad3d24781c99
size 71807

3
tesserocr-2.9.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fa1fe3c79575d6fd5b527785e773fa19b055f07f922feb2ac9d6c1e62233522
size 72051