forked from pool/python-tesserocr
Accepting request 1170607 from devel:languages:python
- Update to 2.7.0: * Allow passing configs/variables on initialization gh#sirfz/tesserocr#349 * Stub file for completion gh#sirfz/tesserocr#350 * Expose leptonica's log level setting via set_leptonica_log_level function * Keep tesseract's default debug_file setting OBS-URL: https://build.opensuse.org/request/show/1170607 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 28 15:30:33 UTC 2024 - Mia Herkt <mia@0x0.st>
|
||||||
|
|
||||||
|
- Update to 2.7.0:
|
||||||
|
* Allow passing configs/variables on initialization
|
||||||
|
gh#sirfz/tesserocr#349
|
||||||
|
* Stub file for completion
|
||||||
|
gh#sirfz/tesserocr#350
|
||||||
|
* Expose leptonica's log level setting via
|
||||||
|
set_leptonica_log_level function
|
||||||
|
* Keep tesseract's default debug_file setting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 2 18:53:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Tue Apr 2 18:53:44 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-tesserocr
|
Name: python-tesserocr
|
||||||
Version: 2.6.3
|
Version: 2.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python wrapper around tesseract-ocr
|
Summary: A Python wrapper around tesseract-ocr
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -29,6 +29,7 @@ BuildRequires: %{python_module Pillow}
|
|||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -58,6 +59,7 @@ GIL while processing an image in tesseract.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export TESSDATA_PREFIX=/usr/share/tessdata
|
export TESSDATA_PREFIX=/usr/share/tessdata
|
||||||
@@ -72,7 +74,6 @@ donttest+=" or test_init"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitearch}/tesserocr.cpython*.so
|
%{python_sitearch}/tesserocr*
|
||||||
%{python_sitearch}/tesserocr*egg-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:44c1c4ef7bdc286cfa144ce1a097e81c3329f4a43509bc8494a1ab852338c6e1
|
|
||||||
size 59231
|
|
3
tesserocr-2.7.0.tar.gz
Normal file
3
tesserocr-2.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:45c093630337d01a6a8f977a246ad6d732eb11f2e072bb226d59ad3d24781c99
|
||||||
|
size 71807
|
Reference in New Issue
Block a user