forked from pool/python-tesserocr
- 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/package/show/devel:languages:python/python-tesserocr?expand=0&rev=40
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-tesserocr
|
||||
Version: 2.6.3
|
||||
Version: 2.7.0
|
||||
Release: 0
|
||||
Summary: A Python wrapper around tesseract-ocr
|
||||
License: MIT
|
||||
@@ -29,6 +29,7 @@ BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -58,6 +59,7 @@ GIL while processing an image in tesseract.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%check
|
||||
export TESSDATA_PREFIX=/usr/share/tessdata
|
||||
@@ -72,7 +74,6 @@ donttest+=" or test_init"
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitearch}/tesserocr.cpython*.so
|
||||
%{python_sitearch}/tesserocr*egg-info
|
||||
%{python_sitearch}/tesserocr*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user