forked from pool/python-rapidfuzz
Accepting request 1043764 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1043764 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rapidfuzz?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 17 22:35:21 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
|
||||
|
||||
- update to version 2.13.6
|
||||
* Changed
|
||||
+ reformat changelog as restructured text to get rig of m2r2 dependency
|
||||
- version 2.13.5
|
||||
* Added
|
||||
+ added docs to sdist
|
||||
* Fixed
|
||||
+ fix two cases of undefined behavior in process.cdist
|
||||
- version 2.13.4
|
||||
* Changed
|
||||
+ handle float("nan") similar to None for query / choice, since this is
|
||||
common for non-existent data in tools like numpy
|
||||
* Fixed
|
||||
+ fix handling on None/float("nan") in process.distance
|
||||
+ use absolute imports inside tests
|
||||
- version 2.13.3
|
||||
* Fixed
|
||||
+ improve handling of functions wrapped using functools.wraps
|
||||
+ fix broken fallback to Python implementation when the a ImportError occurs on import.
|
||||
This can e.g. occur when the binary has a dependency on libatomic, but it
|
||||
is unavailable on the system
|
||||
+ define CMAKE_C_COMPILER_AR/CMAKE_CXX_COMPILER_AR/CMAKE_C_COMPILER_RANLIB/CMAKE_CXX_COMPILER_RANLIB
|
||||
if they are not defined yet
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 27 10:03:58 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-rapidfuzz
|
||||
Version: 2.13.2
|
||||
Version: 2.13.6
|
||||
Release: 0
|
||||
Summary: Rapid fuzzy string matching
|
||||
License: MIT
|
||||
@@ -26,8 +26,11 @@ URL: https://github.com/maxbachmann/RapidFuzz
|
||||
Source: https://files.pythonhosted.org/packages/source/r/rapidfuzz/rapidfuzz-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module PyInstaller}
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module scikit-build}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -46,11 +49,13 @@ RapidFuzz is a fast string matching library for Python and C++, which is using t
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
# remove devel file
|
||||
%python_expand find %{buildroot} -type f -name "rapidfuzz.h" -delete -print
|
||||
|
||||
%check
|
||||
# tests are a bit unstable
|
||||
@@ -69,6 +74,6 @@ export skip_tests=""
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitearch}/rapidfuzz
|
||||
%{python_sitearch}/rapidfuzz-*.egg-info
|
||||
%{python_sitearch}/rapidfuzz-*.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c67007161655c59e13bba130a2db29d7c9e5c81bcecb8846a3dd7386065eb24
|
||||
size 842042
|
||||
3
rapidfuzz-2.13.6.tar.gz
Normal file
3
rapidfuzz-2.13.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:948445a054d9fb30a93597c325d8836232bd68e61443a88779a57702aa35a007
|
||||
size 999974
|
||||
Reference in New Issue
Block a user