forked from pool/python-pyocr
Accepting request 1055978 from devel:languages:python
- update to 0.8.3: * Workaround https://github.com/pypa/setuptools_scm/issues/727 * Add support for Tesseravt 5 + Linux * Fix file descriptor leak (thanks to oda) * Make the dependency on setuptools_scm optional OBS-URL: https://build.opensuse.org/request/show/1055978 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyocr?expand=0&rev=6
This commit is contained in:
3
python-pyocr-0.8.3.tar.gz
Normal file
3
python-pyocr-0.8.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d2484c93feca5b8f1fe6c4e7ea3901d37b67555851cb27f4031a457373131b0d
|
||||||
|
size 65558
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f3b6a61d4eb5c045cb2c7802232a9bb98bdf32081433f04308f924edb5e43053
|
|
||||||
size 65023
|
|
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 4 18:40:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.8.3:
|
||||||
|
* Workaround https://github.com/pypa/setuptools_scm/issues/727
|
||||||
|
* Add support for Tesseravt 5 + Linux
|
||||||
|
* Fix file descriptor leak (thanks to oda)
|
||||||
|
* Make the dependency on setuptools_scm optional
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 26 10:41:00 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Thu Aug 26 10:41:00 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyocr
|
# spec file for package python-pyocr
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2023 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
|
||||||
@@ -16,11 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define sha f9f93bbd83ab5814b1c56c3ffe41addc9ec622dc
|
%define sha 920b07154e1240efbd16e5b0bfd5fe2b57ac8334
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pyocr
|
Name: python-pyocr
|
||||||
Version: 0.8
|
Version: 0.8.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python wrapper for OCR engines
|
Summary: Python wrapper for OCR engines
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@@ -29,8 +29,8 @@ URL: https://gitlab.gnome.org/World/OpenPaperwork/pyocr
|
|||||||
Source: https://gitlab.gnome.org/World/OpenPaperwork/pyocr/-/archive/%{version}/%{name}-%{version}.tar.gz
|
Source: https://gitlab.gnome.org/World/OpenPaperwork/pyocr/-/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Pillow}
|
BuildRequires: %{python_module Pillow}
|
||||||
BuildRequires: %{python_module base}
|
BuildRequires: %{python_module base}
|
||||||
BuildRequires: %{python_module setuptools_scm_git_archive}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pillow
|
Requires: python-Pillow
|
||||||
@@ -47,10 +47,10 @@ That is, it helps using various OCR tools from a Python program.
|
|||||||
%setup -q -n pyocr-%{version}-%{sha}
|
%setup -q -n pyocr-%{version}-%{sha}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Reference in New Issue
Block a user