diff --git a/python-pyocr-0.8.3.tar.gz b/python-pyocr-0.8.3.tar.gz new file mode 100644 index 0000000..406ce2d --- /dev/null +++ b/python-pyocr-0.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2484c93feca5b8f1fe6c4e7ea3901d37b67555851cb27f4031a457373131b0d +size 65558 diff --git a/python-pyocr-0.8.tar.gz b/python-pyocr-0.8.tar.gz deleted file mode 100644 index 4f83084..0000000 --- a/python-pyocr-0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3b6a61d4eb5c045cb2c7802232a9bb98bdf32081433f04308f924edb5e43053 -size 65023 diff --git a/python-pyocr.changes b/python-pyocr.changes index ca1bdfc..0281640 100644 --- a/python-pyocr.changes +++ b/python-pyocr.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Jan 4 18:40:56 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-pyocr.spec b/python-pyocr.spec index 52b1920..8eccba0 100644 --- a/python-pyocr.spec +++ b/python-pyocr.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,11 @@ # -%define sha f9f93bbd83ab5814b1c56c3ffe41addc9ec622dc +%define sha 920b07154e1240efbd16e5b0bfd5fe2b57ac8334 %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyocr -Version: 0.8 +Version: 0.8.3 Release: 0 Summary: Python wrapper for OCR engines 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 BuildRequires: %{python_module Pillow} BuildRequires: %{python_module base} -BuildRequires: %{python_module setuptools_scm_git_archive} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros 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} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files}