14
0

Accepting request 1251863 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1251863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tesserocr?expand=0&rev=21
This commit is contained in:
2025-03-11 19:44:39 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 7 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Mar 10 15:10:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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

View File

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

3
tesserocr-2.8.0.tar.gz Normal file
View File

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