14
0

- Update to 4.5.0:

* Run Python 3.10 tests on CI
  * Type annotations
  * Add new DamerauLevenshtein... classes
  * update rapidfuzz
  * Ensure that maximum normalised distance is <= 1
  * Ensure editex parameters are sensible
  * Ignore inconsistent timings on some comparison tests
  * add support for rapidfuzz
- Fix up the download URL due to upstream dropping v.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textdistance?expand=0&rev=11
This commit is contained in:
2023-02-08 04:12:18 +00:00
committed by Git OBS Bridge
parent f0d351b3d1
commit 4985e73307
4 changed files with 21 additions and 8 deletions

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Feb 8 04:09:31 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 4.5.0:
* Run Python 3.10 tests on CI
* Type annotations
* Add new DamerauLevenshtein... classes
* update rapidfuzz
* Ensure that maximum normalised distance is <= 1
* Ensure editex parameters are sensible
* Ignore inconsistent timings on some comparison tests
* add support for rapidfuzz
- Fix up the download URL due to upstream dropping v.
-------------------------------------------------------------------
Sat Jun 18 14:19:44 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-textdistance
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,13 @@
#
%define skip_python2 1
Name: python-textdistance
Version: 4.2.1
Version: 4.5.0
Release: 0
Summary: Compute distance between the two texts
License: MIT
URL: https://github.com/life4/textdistance
Source: https://github.com/life4/textdistance/archive/refs/tags/v.%{version}.tar.gz#/python-textdistance-%{version}.tar.gz
Source: https://github.com/life4/textdistance/archive/refs/tags/%{version}.tar.gz#/textdistance-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE hypothesis-profile-conftest.patch -- add hypothesis profile for slow OBS executions, code@bnavigator.de
Patch1: hypothesis-profile-conftest.patch
BuildRequires: %{python_module setuptools}
@@ -49,7 +48,7 @@ Compute distance between sequences. 30+ algorithms, pure python
implementation, common interface, optional external libs usage.
%prep
%autosetup -p1 -n textdistance-v.%{version}
%autosetup -p1 -n textdistance-%{version}
chmod a-x README.md
%build

View File

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