1
0

6 Commits

Author SHA256 Message Date
6b3407fdab Accepting request 1250403 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1250403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Levenshtein?expand=0&rev=16
2025-03-06 13:48:25 +00:00
5e74d4d39c - update to 0.27.1
* fix build with scikit-build-core v0.11
  * upgrade to Cython==3.0.12
- Run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Levenshtein?expand=0&rev=30
2025-03-05 12:04:25 +00:00
93ee65d451 Accepting request 1219191 from devel:languages:python
- update to 0.26.1:
  * add missing mac os wheels

- enable %{?sle15_python_module_pythons}
- initial build. this package is needed to build and use the python wurfl package

OBS-URL: https://build.opensuse.org/request/show/1219191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Levenshtein?expand=0&rev=15
2024-10-30 16:33:10 +00:00
05c75579dc - update to 0.26.1:
* add missing mac os wheels
- enable %{?sle15_python_module_pythons}
- initial build. this package is needed to build and use the python wurfl package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Levenshtein?expand=0&rev=28
2024-10-29 21:21:54 +00:00
9922439199 Accepting request 1202814 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1202814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Levenshtein?expand=0&rev=14
2024-10-01 15:11:34 +00:00
421b2c4a3d - 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/package/show/devel:languages:python/python-Levenshtein?expand=0&rev=26
2024-09-24 07:03:50 +00:00
4 changed files with 41 additions and 12 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:3e18b73564cfc846eec94dd13fab6cb006b5d2e0cc56bad1fd7d5585881302e3
size 382571

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Mar 5 10:37:35 UTC 2025 - Markéta Machová <mmachova@suse.com>
- update to 0.27.1
* fix build with scikit-build-core v0.11
* upgrade to Cython==3.0.12
- Run tests
-------------------------------------------------------------------
Tue Oct 29 21:21:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.26.1:
* add missing mac os wheels
-------------------------------------------------------------------
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>
@@ -127,7 +152,7 @@ Tue May 28 15:13:46 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.c
-------------------------------------------------------------------
Sun Feb 4 21:46:41 UTC 2024 - Axel Braun <axel.braun@gmx.de>
- enable %{?sle15_python_module_pythons}
- enable %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Thu Nov 7 14:53:50 UTC 2019 - Matej Cepl <mcepl@suse.com>
@@ -195,5 +220,5 @@ Thu Jan 26 17:16:00 UTC 2012 - elchevive@opensuse.org
-------------------------------------------------------------------
Fri Nov 26 09:39:51 UTC 2010 - cfarrell@novell.com
- initial build. this package is needed to build and use the python wurfl package
- initial build. this package is needed to build and use the python wurfl package

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Levenshtein
#
# 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
@@ -18,22 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-Levenshtein
Version: 0.25.1
Version: 0.27.1
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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module rapidfuzz >= 3.9.0}
BuildRequires: %{python_module scikit-build-core >= 0.11}
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
@@ -57,6 +58,9 @@ It supports both normal and Unicode strings.
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%pytest_arch
%files %{python_files}
%license COPYING
%doc HISTORY.md README.md