forked from pool/python-pytesseract
Accepting request 787404 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/787404 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytesseract?expand=0&rev=7
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ae1dce01413d1f8eb0614fd65d831e26e649dc1a31699b7275455c57aa563b59
|
|
||||||
size 20790
|
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 23 09:25:20 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 0.3.3
|
||||||
|
* no upstream changelog
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 10 11:35:38 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Tue Sep 10 11:35:38 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytesseract
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,25 +18,30 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytesseract
|
Name: python-pytesseract
|
||||||
Version: 0.3.0
|
Version: 0.3.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python wrapper for Google's Tesseract-OCR
|
Summary: Python wrapper for Google's Tesseract-OCR
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/madmaze/python-tesseract
|
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: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pillow
|
Requires: python-Pillow
|
||||||
|
Requires: python-setuptools
|
||||||
Requires: tesseract-traineddata-deu
|
Requires: tesseract-traineddata-deu
|
||||||
Requires: tesseract-traineddata-eng
|
Requires: tesseract-traineddata-eng
|
||||||
Requires: pkgconfig(tesseract)
|
Requires: pkgconfig(tesseract)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: tesseract-ocr-traineddata-orientation_and_script_detection
|
||||||
BuildRequires: tesseract-traineddata-deu
|
BuildRequires: tesseract-traineddata-deu
|
||||||
BuildRequires: tesseract-traineddata-eng
|
BuildRequires: tesseract-traineddata-eng
|
||||||
|
BuildRequires: tesseract-traineddata-fra
|
||||||
BuildRequires: pkgconfig(tesseract)
|
BuildRequires: pkgconfig(tesseract)
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -64,6 +69,9 @@ sed -i -e '/^#!\//, 1d' src/pytesseract.py
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
3
v0.3.3.tar.gz
Normal file
3
v0.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:62e810f1a3eb28ab88e95de17d8f4f7e6681e47c5a11e0c412ec26e36bc647ef
|
||||||
|
size 331608
|
Reference in New Issue
Block a user