14
0
forked from pool/python-pyocr

- update to 0.8.5:

* Fix LineBoxBuilder: Take into account headers and footers
    too, not just the body.
  * switch from setup.py to pyproject.toml
  * switch from tox to pytest
- Update project url and source to gitlab

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyocr?expand=0&rev=12
This commit is contained in:
2024-01-02 21:29:49 +00:00
committed by Git OBS Bridge
parent a4095d9a59
commit 5f65b57218
4 changed files with 21 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyocr
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,10 @@
#
%define sha 920b07154e1240efbd16e5b0bfd5fe2b57ac8334
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define sha ca191ba776743fe10a1c3dd99eaa82626ee4edc1
%{?sle15_python_module_pythons}
Name: python-pyocr
Version: 0.8.3
Version: 0.8.5
Release: 0
Summary: Python wrapper for OCR engines
License: GPL-3.0-or-later
@@ -30,6 +29,8 @@ Source: https://gitlab.gnome.org/World/OpenPaperwork/pyocr/-/archive/%{v
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module base}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -56,6 +57,7 @@ That is, it helps using various OCR tools from a Python program.
%files %{python_files}
%license COPYING
%doc AUTHORS ChangeLog README.md
%{python_sitelib}/*
%{python_sitelib}/pyocr
%{python_sitelib}/pyocr-%{version}.dist-info
%changelog