From 21804ec3ebbc9a559e1b5be84427715d2ddfa59fafee1d9bdafdee9cada6a390 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 28 Aug 2021 10:35:56 +0000 Subject: [PATCH] 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 --- python-pyocr-0.7.2.tar.gz | 3 --- python-pyocr-0.8.tar.gz | 3 +++ python-pyocr.changes | 9 +++++++++ python-pyocr.spec | 6 +++--- 4 files changed, 15 insertions(+), 6 deletions(-) delete mode 100644 python-pyocr-0.7.2.tar.gz create mode 100644 python-pyocr-0.8.tar.gz diff --git a/python-pyocr-0.7.2.tar.gz b/python-pyocr-0.7.2.tar.gz deleted file mode 100644 index 95ce3c9..0000000 --- a/python-pyocr-0.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:375e563220e2a703e7ae729c2ae10af2cbbfc6c678dca80a7a253b5ad756164d -size 63961 diff --git a/python-pyocr-0.8.tar.gz b/python-pyocr-0.8.tar.gz new file mode 100644 index 0000000..4f83084 --- /dev/null +++ b/python-pyocr-0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3b6a61d4eb5c045cb2c7802232a9bb98bdf32081433f04308f924edb5e43053 +size 65023 diff --git a/python-pyocr.changes b/python-pyocr.changes index 890508e..ca1bdfc 100644 --- a/python-pyocr.changes +++ b/python-pyocr.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Aug 26 10:41:00 UTC 2021 - John Paul Adrian Glaubitz + +- 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/ + ------------------------------------------------------------------- Tue Sep 10 11:51:28 UTC 2019 - Tomáš Chvátal diff --git a/python-pyocr.spec b/python-pyocr.spec index f792aa0..52b1920 100644 --- a/python-pyocr.spec +++ b/python-pyocr.spec @@ -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