From fd5b6a91a7cf941e7531874c44717e7f1a2d072870771c9c2d035f6e67798a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 19 Dec 2022 13:21:56 +0000 Subject: [PATCH] Accepting request 1043647 from home:Simmphonie:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/1043647 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rapidfuzz?expand=0&rev=3 --- python-rapidfuzz.changes | 27 +++++++++++++++++++++++++++ python-rapidfuzz.spec | 13 +++++++++---- rapidfuzz-2.13.2.tar.gz | 3 --- rapidfuzz-2.13.6.tar.gz | 3 +++ 4 files changed, 39 insertions(+), 7 deletions(-) delete mode 100644 rapidfuzz-2.13.2.tar.gz create mode 100644 rapidfuzz-2.13.6.tar.gz diff --git a/python-rapidfuzz.changes b/python-rapidfuzz.changes index a7b56f8..4389517 100644 --- a/python-rapidfuzz.changes +++ b/python-rapidfuzz.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Sat Dec 17 22:35:21 UTC 2022 - Torsten Gruner + +- 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á diff --git a/python-rapidfuzz.spec b/python-rapidfuzz.spec index 7cfcd0f..0fdac97 100644 --- a/python-rapidfuzz.spec +++ b/python-rapidfuzz.spec @@ -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 diff --git a/rapidfuzz-2.13.2.tar.gz b/rapidfuzz-2.13.2.tar.gz deleted file mode 100644 index 1aa8f84..0000000 --- a/rapidfuzz-2.13.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c67007161655c59e13bba130a2db29d7c9e5c81bcecb8846a3dd7386065eb24 -size 842042 diff --git a/rapidfuzz-2.13.6.tar.gz b/rapidfuzz-2.13.6.tar.gz new file mode 100644 index 0000000..8b9ff36 --- /dev/null +++ b/rapidfuzz-2.13.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:948445a054d9fb30a93597c325d8836232bd68e61443a88779a57702aa35a007 +size 999974