From d0780c73dad8e828d656045f4479a538a7f320bda60e63c94cf36792db06b969 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 24 Sep 2024 07:03:50 +0000 Subject: [PATCH] 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 --- Levenshtein-0.25.1.tar.gz | 3 --- levenshtein-0.26.0.tar.gz | 3 +++ python-Levenshtein.changes | 11 +++++++++++ python-Levenshtein.spec | 9 +++++---- 4 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 Levenshtein-0.25.1.tar.gz create mode 100644 levenshtein-0.26.0.tar.gz diff --git a/Levenshtein-0.25.1.tar.gz b/Levenshtein-0.25.1.tar.gz deleted file mode 100644 index c7a8563..0000000 --- a/Levenshtein-0.25.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2df14471c778c75ffbd59cb64bbecfd4b0ef320ef9f80e4804764be7d5678980 -size 149954 diff --git a/levenshtein-0.26.0.tar.gz b/levenshtein-0.26.0.tar.gz new file mode 100644 index 0000000..c360fa2 --- /dev/null +++ b/levenshtein-0.26.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:960b020d96bbd348400d6ff5c16290adee49f0ae2d42707a550a3b4f7d092abe +size 374294 diff --git a/python-Levenshtein.changes b/python-Levenshtein.changes index c93a854..af94b5c 100644 --- a/python-Levenshtein.changes +++ b/python-Levenshtein.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Sep 23 12:56:31 UTC 2024 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-Levenshtein.spec b/python-Levenshtein.spec index ee839dd..471bced 100644 --- a/python-Levenshtein.spec +++ b/python-Levenshtein.spec @@ -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