Hello community, here is the log from the commit of package python-pytesseract for openSUSE:Factory checked in at 2020-03-23 12:52:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytesseract (Old) and /work/SRC/openSUSE:Factory/.python-pytesseract.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytesseract" Mon Mar 23 12:52:26 2020 rev:7 rq:787404 version:0.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytesseract/python-pytesseract.changes 2019-09-11 10:36:33.519275925 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytesseract.new.3160/python-pytesseract.changes 2020-03-23 12:53:20.116060962 +0100 @@ -1,0 +2,6 @@ +Mon Mar 23 09:25:20 UTC 2020 - [email protected] + +- version update to 0.3.3 + * no upstream changelog + +------------------------------------------------------------------- Old: ---- pytesseract-0.3.0.tar.gz New: ---- v0.3.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytesseract.spec ++++++ --- /var/tmp/diff_new_pack.R3IcSH/_old 2020-03-23 12:53:20.948061484 +0100 +++ /var/tmp/diff_new_pack.R3IcSH/_new 2020-03-23 12:53:20.956061489 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytesseract # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,25 +18,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytesseract -Version: 0.3.0 +Version: 0.3.3 Release: 0 Summary: Python wrapper for Google's Tesseract-OCR License: GPL-3.0-only Group: Development/Languages/Python URL: https://github.com/madmaze/python-tesseract -Source: https://files.pythonhosted.org/packages/source/p/pytesseract/pytesseract-%{version}.tar.gz +# https://github.com/madmaze/pytesseract/issues/262 +Source: https://github.com/madmaze/pytesseract/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Pillow +Requires: python-setuptools Requires: tesseract-traineddata-deu Requires: tesseract-traineddata-eng Requires: pkgconfig(tesseract) BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module pytest} +BuildRequires: tesseract-ocr-traineddata-orientation_and_script_detection BuildRequires: tesseract-traineddata-deu BuildRequires: tesseract-traineddata-eng +BuildRequires: tesseract-traineddata-fra BuildRequires: pkgconfig(tesseract) # /SECTION %python_subpackages @@ -64,6 +69,9 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.rst %license LICENSE
