From 323d9c2da84f0081079172de0e3413d901646c1adbdf29149a7189bb15836724 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Mar 2025 18:03:11 +0000 Subject: [PATCH] Accepting request 1251838 from home:glaubitz:branches:devel:languages:python - Update to 2.8.0 * Build Python 3.13 wheels by @nijel in (#357) * chore(ci): Modernize wheel builds by @nijel in (#362) - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Use Python 3.11 on SLE-15 by default OBS-URL: https://build.opensuse.org/request/show/1251838 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tesserocr?expand=0&rev=44 --- python-tesserocr.changes | 12 ++++++++++++ python-tesserocr.spec | 11 +++++++---- tesserocr-2.7.1.tar.gz | 3 --- tesserocr-2.8.0.tar.gz | 3 +++ 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 tesserocr-2.7.1.tar.gz create mode 100644 tesserocr-2.8.0.tar.gz diff --git a/python-tesserocr.changes b/python-tesserocr.changes index 93485c6..fa5450e 100644 --- a/python-tesserocr.changes +++ b/python-tesserocr.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Mar 10 15:10:04 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.8.0 + * Build Python 3.13 wheels by @nijel in (#357) + * chore(ci): Modernize wheel builds by @nijel in (#362) +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Use Python 3.11 on SLE-15 by default + ------------------------------------------------------------------- Mon Sep 23 09:20:11 UTC 2024 - Dirk Müller diff --git a/python-tesserocr.spec b/python-tesserocr.spec index 04c9e96..c2a5890 100644 --- a/python-tesserocr.spec +++ b/python-tesserocr.spec @@ -1,7 +1,7 @@ # # spec file for package python-tesserocr # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,9 @@ # +%{?sle15_python_module_pythons} Name: python-tesserocr -Version: 2.7.1 +Version: 2.8.0 Release: 0 Summary: A Python wrapper around tesseract-ocr License: MIT @@ -27,8 +28,10 @@ Source: https://files.pythonhosted.org/packages/source/t/tesserocr/tesse BuildRequires: %{python_module Cython} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -55,10 +58,10 @@ GIL while processing an image in tesseract. %setup -q -n tesserocr-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %fdupes %{buildroot} %check diff --git a/tesserocr-2.7.1.tar.gz b/tesserocr-2.7.1.tar.gz deleted file mode 100644 index 79e1d7a..0000000 --- a/tesserocr-2.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3744c5c8bbabf18172849c7731be00dc2e5e44f8c556d37c850e788794ae0af4 -size 71816 diff --git a/tesserocr-2.8.0.tar.gz b/tesserocr-2.8.0.tar.gz new file mode 100644 index 0000000..2c991e5 --- /dev/null +++ b/tesserocr-2.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be518d1b1b5ff54c11aada1e0fd12942509ea70581e0a8b39a2a473a0b2dbd36 +size 72564