14
0
forked from pool/python-pyocr

Accepting request 1136293 from devel:languages:python

- 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/request/show/1136293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyocr?expand=0&rev=7
This commit is contained in:
2024-01-03 11:30:55 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2484c93feca5b8f1fe6c4e7ea3901d37b67555851cb27f4031a457373131b0d
size 65558

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13f1506c7e10b62ad636759ed6855ef3e5d598974148c8a86cf5de8d90c35fd1
size 67116

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jan 2 21:26:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Wed Jan 4 18:40:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -34,7 +43,7 @@ Thu May 16 22:25:00 UTC 2019 - Hardik Italia <hitalia@suse.com>
* 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
- Update project url and source to gitlab
-------------------------------------------------------------------
Tue Dec 26 15:53:23 UTC 2017 - mpluskal@suse.com

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