commit python-pyocr for openSUSE:Factory
Hello community, here is the log from the commit of package python-pyocr for openSUSE:Factory checked in at 2019-05-17 23:43:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyocr (Old) and /work/SRC/openSUSE:Factory/.python-pyocr.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pyocr" Fri May 17 23:43:45 2019 rev:3 rq:703573 version:0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyocr/python-pyocr.changes 2018-01-10 23:33:37.872350119 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyocr.new.5148/python-pyocr.changes 2019-05-17 23:43:48.181891730 +0200 @@ -1,0 +2,14 @@ +Thu May 16 22:25:00 UTC 2019 - Hardik Italia <hitalia@suse.com> + +- Update to vetison 0.7: + * Drop support for Python <= 2.7 + * Fix: Make sure the builder objects can be used to parse box files + even if Tesseract is not installed. + * PyOCR version is now automatically set in the module by setuptools_scm + instead of PyOCR's Makefile (except on Windows) + * Tesseract: optim: keep the get_version() in memory instead of calling + Tesseract everytime (get_version() by psm_parameter() which is called each + time a box file is parsed ...) +- Update project url and source to gitlab + +------------------------------------------------------------------- Old: ---- python-pyocr-0.5.tar.gz New: ---- python-pyocr-0.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyocr.spec ++++++ --- /var/tmp/diff_new_pack.Pb2Ewg/_old 2019-05-17 23:43:48.957891303 +0200 +++ /var/tmp/diff_new_pack.Pb2Ewg/_new 2019-05-17 23:43:48.961891302 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyocr # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,21 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define sha 0ffeca803fca7c812560a6c0e34342e4833f1ab0 +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyocr -Version: 0.5 +Version: 0.7 Release: 0 Summary: Python wrapper for OCR engines -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Languages/Python -Url: https://github.com/openpaperwork/pyocr -Source: https://github.com/openpaperwork/pyocr/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +Url: https://gitlab.gnome.org/World/OpenPaperwork/pyocr +Source: https://gitlab.gnome.org/World/OpenPaperwork/pyocr/-/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: %{python_module Pillow} BuildRequires: %{python_module base} +BuildRequires: %{python_module setuptools_scm_git_archive} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -41,7 +44,7 @@ That is, it helps using various OCR tools from a Python program. %prep -%setup -q -n pyocr-%{version} +%setup -q -n pyocr-%{version}-%{sha} %build %python_build @@ -51,7 +54,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%doc AUTHORS COPYING ChangeLog README.markdown +%doc AUTHORS COPYING ChangeLog README.md %{python_sitelib}/* %changelog ++++++ python-pyocr-0.5.tar.gz -> python-pyocr-0.7.tar.gz ++++++ ++++ 13397 lines of diff (skipped)
participants (1)
-
root