14
0
forked from pool/python-pyocr

Accepting request 914389 from home:glaubitz:branches:devel:languages:python

- Update to 0.8:
  * Replaced libtesseract.image_to_pdf() by an object-oriented API that allows
    creating PDF with more than 1 page (thanks to Matthias Kraus).
  * Tesseract 4 + sys.frozen=True: Fix TESSDATA_PREFIX: starting with
    Tesseract 4, the path must include tessdata/

OBS-URL: https://build.opensuse.org/request/show/914389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyocr?expand=0&rev=9
This commit is contained in:
2021-08-28 10:35:56 +00:00
committed by Git OBS Bridge
parent 7bf92b0715
commit 21804ec3eb
4 changed files with 15 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyocr
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,11 @@
#
%define sha f4b068cdf359186bfbed36959c53e9e52e2eda84
%define sha f9f93bbd83ab5814b1c56c3ffe41addc9ec622dc
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyocr
Version: 0.7.2
Version: 0.8
Release: 0
Summary: Python wrapper for OCR engines
License: GPL-3.0-or-later