summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-21 13:57:49 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-21 13:57:49 +0000
commit2baf4f48b1b3c6fb6b1de86006698724c3772b3b (patch)
tree0e95f971fe433d3f11ec1c99cdda54eb3d40e7c7
parentdf5ed9d1abd555e6613f4d09592f8062b44e9c9f (diff)
automatic import of python-rapidfuzzopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-rapidfuzz.spec14
-rw-r--r--sources2
3 files changed, 9 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index f8e8acd..59e7e0a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/rapidfuzz-2.15.0.tar.gz
+/rapidfuzz-3.0.0.tar.gz
diff --git a/python-rapidfuzz.spec b/python-rapidfuzz.spec
index 3523d49..daacbb4 100644
--- a/python-rapidfuzz.spec
+++ b/python-rapidfuzz.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-rapidfuzz
-Version: 2.15.0
+Version: 3.0.0
Release: 1
Summary: rapid fuzzy string matching
License: MIT
URL: https://github.com/maxbachmann/RapidFuzz
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/8c/cad170708243488e2b2a2e727eb40f30018231efa7fa1a9a3a3dc82d9f42/rapidfuzz-2.15.0.tar.gz
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/70/05/4030a8a7aa42d3e40ba7abf902de8e7e94ddcb61abda23f6a3ec5daf36df/rapidfuzz-3.0.0.tar.gz
Requires: python3-numpy
@@ -47,7 +47,7 @@ pip install .
## Usage
Some simple functions are shown below. A complete documentation of all functions can be found [here](https://maxbachmann.github.io/RapidFuzz/Usage/index.html).
### Scorers
-Scorers in RapidFuzz can be found in the modules `fuzz` and `string_metric`.
+Scorers in RapidFuzz can be found in the modules `fuzz` and `distance`.
#### Simple Ratio
```console
> fuzz.ratio("this is a test", "this is a test!")
@@ -166,7 +166,7 @@ pip install .
## Usage
Some simple functions are shown below. A complete documentation of all functions can be found [here](https://maxbachmann.github.io/RapidFuzz/Usage/index.html).
### Scorers
-Scorers in RapidFuzz can be found in the modules `fuzz` and `string_metric`.
+Scorers in RapidFuzz can be found in the modules `fuzz` and `distance`.
#### Simple Ratio
```console
> fuzz.ratio("this is a test", "this is a test!")
@@ -279,7 +279,7 @@ pip install .
## Usage
Some simple functions are shown below. A complete documentation of all functions can be found [here](https://maxbachmann.github.io/RapidFuzz/Usage/index.html).
### Scorers
-Scorers in RapidFuzz can be found in the modules `fuzz` and `string_metric`.
+Scorers in RapidFuzz can be found in the modules `fuzz` and `distance`.
#### Simple Ratio
```console
> fuzz.ratio("this is a test", "this is a test!")
@@ -352,7 +352,7 @@ RapidFuzz is licensed under the MIT license since I believe that everyone should
This old version of fuzzywuzzy can be found [here](https://github.com/seatgeek/fuzzywuzzy/tree/4bf28161f7005f3aa9d4d931455ac55126918df7).
%prep
-%autosetup -n rapidfuzz-2.15.0
+%autosetup -n rapidfuzz-3.0.0
%build
%py3_build
@@ -392,5 +392,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.15.0-1
+* Fri Apr 21 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.0-1
- Package Spec generated
diff --git a/sources b/sources
index e89692b..6885923 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-31c1184d6b701bfa6091436b5fc2ef91 rapidfuzz-2.15.0.tar.gz
+d3c6390b0254476bf68e0e87eec17e70 rapidfuzz-3.0.0.tar.gz