Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytesseract for 
openSUSE:Factory checked in at 2023-02-06 14:15:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytesseract (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytesseract.new.4462 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytesseract"

Mon Feb  6 14:15:45 2023 rev:11 rq:1063382 version:0.3.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytesseract/python-pytesseract.changes    
2021-03-02 12:45:54.184378670 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytesseract.new.4462/python-pytesseract.changes
  2023-02-06 14:15:46.188680713 +0100
@@ -1,0 +2,15 @@
+Mon Feb  6 10:33:46 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Update to v0.3.10
+  * Fix image_to_osd regression (reported by @klavdijS)
+- v0.3.9
+  * Support only python 3.7+ (3.6 is End of Life)
+  * Switch from deprecated distutils version parsing to packaging.version
+  * Add build system requirements in order for pip to properly install Pillow
+- v0.3.8
+  * Header handling in file_to_dict function by @igor-ma
+  * Proper raising behavior in case of timeout by @amenezes
+  * __version__ attribute support by @amenezes
+  * Couple of bug fixes
+
+-------------------------------------------------------------------

Old:
----
  v0.3.7.tar.gz

New:
----
  v0.3.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytesseract.spec ++++++
--- /var/tmp/diff_new_pack.WkdVXq/_old  2023-02-06 14:15:46.860684540 +0100
+++ /var/tmp/diff_new_pack.WkdVXq/_new  2023-02-06 14:15:46.868684585 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytesseract
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,8 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytesseract
-Version:        0.3.7
+Version:        0.3.10
 Release:        0
 Summary:        Python wrapper for Google's Tesseract-OCR
 License:        Apache-2.0
@@ -31,21 +30,21 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-Pillow
 Requires:       python-setuptools
-Requires:       tesseract-traineddata-deu
-Requires:       tesseract-traineddata-eng
+Requires:       tesseract-ocr-traineddata-deu
+Requires:       tesseract-ocr-traineddata-eng
 Requires:       pkgconfig(tesseract)
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  tesseract-ocr-traineddata-deu
+BuildRequires:  tesseract-ocr-traineddata-eng
+BuildRequires:  tesseract-ocr-traineddata-fra
 BuildRequires:  tesseract-ocr-traineddata-orientation_and_script_detection
-BuildRequires:  tesseract-traineddata-deu
-BuildRequires:  tesseract-traineddata-eng
-BuildRequires:  tesseract-traineddata-fra
 BuildRequires:  pkgconfig(tesseract)
 # /SECTION
 Requires(post):   update-alternatives
-Requires(postun):  update-alternatives
+Requires(postun):update-alternatives
 %python_subpackages
 
 %description
@@ -62,7 +61,7 @@
 
 %prep
 %setup -q -n pytesseract-%{version}
-sed -i -e '/^#!\//, 1d' src/pytesseract.py
+sed -i -e '/^#!\//, 1d' pytesseract/pytesseract.py
 
 %build
 %python_build
@@ -73,6 +72,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+export TESSDATA_PREFIX=%{_datadir}/tessdata/
 %pytest
 
 %post
@@ -85,6 +85,7 @@
 %doc README.rst
 %license LICENSE
 %python_alternative %{_bindir}/pytesseract
-%{python_sitelib}/*
+%{python_sitelib}/pytesseract
+%{python_sitelib}/pytesseract-%{version}*-info
 
 %changelog

++++++ v0.3.7.tar.gz -> v0.3.10.tar.gz ++++++
++++ 1690 lines of diff (skipped)

Reply via email to