Hello community,

here is the log from the commit of package python-pyocr for openSUSE:Factory 
checked in at 2018-01-10 23:33:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyocr (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyocr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyocr"

Wed Jan 10 23:33:37 2018 rev:2 rq:560041 version:0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyocr/python-pyocr.changes        
2016-10-13 11:30:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyocr.new/python-pyocr.changes   
2018-01-10 23:33:37.872350119 +0100
@@ -1,0 +2,20 @@
+Tue Dec 26 15:53:23 UTC 2017 - mplus...@suse.com
+
+- Update to version 0.5:
+  * Tesseract/Libtesseract + LineBoxBuilder: Add confidence scores
+    to every word boxes and to hOCR files (thanks to Adriano Pagano)
+  * Tesseract 4 (shell): Add '--oem 0' to specify legacy model when
+    doing orientation detection as orientation detection does not
+    work yet with Tesseract 4 (thanks to Adriano Pagano)
+  * Libtesseract: Fix multi-language support
+  * Tesseract (shell) + Windows: Never let the cmd window appear
+  * Libtesseract: Implements image_to_pdf() (thanks to Marian Skrip)
+  * Libtesseract: Hide debug messages (thanks to Ashish Kulkarni)
+- Update project url and use github sources
+
+-------------------------------------------------------------------
+Fri Dec 15 11:09:17 UTC 2017 - mvet...@suse.com
+
+- Use python singlespec
+
+-------------------------------------------------------------------

Old:
----
  pyocr-0.4.1.tar.gz

New:
----
  python-pyocr-0.5.tar.gz

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

Other differences:
------------------
++++++ python-pyocr.spec ++++++
--- /var/tmp/diff_new_pack.0ucPkA/_old  2018-01-10 23:33:38.512320088 +0100
+++ /var/tmp/diff_new_pack.0ucPkA/_new  2018-01-10 23:33:38.516319900 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyocr
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -13,43 +13,45 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyocr
-Version:        0.4.1
+Version:        0.5
 Release:        0
-License:        GPL-3.0+
 Summary:        Python wrapper for OCR engines
-Url:            https://github.com/jflesch/pyocr
+License:        GPL-3.0+
 Group:          Development/Languages/Python
-Source:         
https://pypi.python.org/packages/source/p/pyocr/pyocr-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-Pillow
+Url:            https://github.com/openpaperwork/pyocr
+Source:         
https://github.com/openpaperwork/pyocr/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  %{python_module Pillow}
+BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:       python-Pillow 
 Recommends:     cuneiform
 Recommends:     tesseract-ocr
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
-A Python wrapper for OCR engines (Tesseract, Cuneiform, etc)
+PyOCR is an optical character recognition (OCR) tool wrapper for python.
+That is, it helps using various OCR tools from a Python program.
 
 %prep
 %setup -q -n pyocr-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
-%defattr(-,root,root,-)
+%files %{python_files}
+%doc AUTHORS COPYING ChangeLog README.markdown
 %{python_sitelib}/*
 
 %changelog


Reply via email to