forked from pool/python-pyocr
Accepting request 703573 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703573 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyocr?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c9110dee4daad7d172e7b90c5ddfc39abc72840b918d3346afc86935fc67f2c4
|
||||
size 2182562
|
3
python-pyocr-0.7.tar.gz
Normal file
3
python-pyocr-0.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ac5f682ca9e066d9a10824d200ae1fc169b122527f975a568723d487ad1eb1fe
|
||||
size 63681
|
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 26 15:53:23 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
|
@@ -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 @@ 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}
|
||||
%setup -q -n pyocr-%{version}-%{sha}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -51,7 +54,7 @@ That is, it helps using various OCR tools from a Python program.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS COPYING ChangeLog README.markdown
|
||||
%doc AUTHORS COPYING ChangeLog README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user