forked from pool/python-pytesseract
Accepting request 787403 from home:pgajdos:python
- version update to 0.3.3 * no upstream changelog OBS-URL: https://build.opensuse.org/request/show/787403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytesseract?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
b51d178e8f
commit
45fdd76a01
@@ -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>
|
||||
|
||||
|
@@ -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 @@ sed -i -e '/^#!\//, 1d' src/pytesseract.py
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%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