15
0

Accepting request 1202656 from home:glaubitz:branches:devel:languages:python

- Update to version 0.26.0
  * Add support for Python 3.13
  * Drop support for Python 3.8
  * Switch build system to `scikit-build-core`
  * Upgrade to `Cython==3.0.11`
- Adjust upstream source name in spec file
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1202656
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Levenshtein?expand=0&rev=26
This commit is contained in:
2024-09-24 07:03:50 +00:00
committed by Git OBS Bridge
parent d7de7f9a55
commit d0780c73da
4 changed files with 19 additions and 7 deletions

View File

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

View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Sep 23 12:56:31 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 0.26.0
* Add support for Python 3.13
* Drop support for Python 3.8
* Switch build system to `scikit-build-core`
* Upgrade to `Cython==3.0.11`
- Adjust upstream source name in spec file
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Tue May 28 15:13:46 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -18,22 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-Levenshtein
Version: 0.25.1
Version: 0.26.0
Release: 0
Summary: Python extension computing string distances and similarities
License: GPL-2.0-or-later
URL: https://github.com/rapidfuzz/Levenshtein
Source: https://files.pythonhosted.org/packages/source/L/Levenshtein/Levenshtein-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/l/levenshtein/levenshtein-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module scikit-build}
BuildRequires: %{python_module scikit-build-core >= 0.10.6}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: ninja
BuildRequires: python-rpm-macros
Requires: (python-rapidfuzz >= 3.9.0 with python-rapidfuzz < 4.0.0)
%python_subpackages
%description
@@ -48,7 +49,7 @@ computation of
It supports both normal and Unicode strings.
%prep
%setup -q -n Levenshtein-%{version}
%setup -q -n levenshtein-%{version}
%build
%pyproject_wheel