git: e6336fd4ee91 - main - devel/py-rapidfuzz: update 3.10.0 → 3.10.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 09 Nov 2024 02:50:40 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e6336fd4ee914537fc5ad0187e8a3ecd527333cf

commit e6336fd4ee914537fc5ad0187e8a3ecd527333cf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-09 02:49:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-09 02:50:30 +0000

    devel/py-rapidfuzz: update 3.10.0 → 3.10.1
---
 devel/py-rapidfuzz/Makefile                        |  2 +-
 devel/py-rapidfuzz/distinfo                        |  6 ++---
 .../files/patch-src_rapidfuzz_utils.hpp            | 25 -------------------
 .../files/patch-src_rapidfuzz_utils__cpp.hpp       | 29 ----------------------
 4 files changed, 4 insertions(+), 58 deletions(-)

diff --git a/devel/py-rapidfuzz/Makefile b/devel/py-rapidfuzz/Makefile
index 6473bdc4a542..2d8c223ae025 100644
--- a/devel/py-rapidfuzz/Makefile
+++ b/devel/py-rapidfuzz/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rapidfuzz
-DISTVERSION=	3.10.0
+DISTVERSION=	3.10.1
 CATEGORIES=	devel
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-rapidfuzz/distinfo b/devel/py-rapidfuzz/distinfo
index a71aa2c747c9..6aec430dcd6b 100644
--- a/devel/py-rapidfuzz/distinfo
+++ b/devel/py-rapidfuzz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727162731
-SHA256 (rapidfuzz-3.10.0.tar.gz) = 6b62af27e65bb39276a66533655a2fa3c60a487b03935721c45b7809527979be
-SIZE (rapidfuzz-3.10.0.tar.gz) = 57942780
+TIMESTAMP = 1731116509
+SHA256 (rapidfuzz-3.10.1.tar.gz) = 5a15546d847a915b3f42dc79ef9b0c78b998b4e2c53b252e7166284066585979
+SIZE (rapidfuzz-3.10.1.tar.gz) = 57982250
diff --git a/devel/py-rapidfuzz/files/patch-src_rapidfuzz_utils.hpp b/devel/py-rapidfuzz/files/patch-src_rapidfuzz_utils.hpp
deleted file mode 100644
index 6642b9dfc402..000000000000
--- a/devel/py-rapidfuzz/files/patch-src_rapidfuzz_utils.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
---- src/rapidfuzz/utils.hpp.orig	2024-08-06 20:55:30 UTC
-+++ src/rapidfuzz/utils.hpp
-@@ -10,7 +10,7 @@
- #include <cwctype>
- #include <limits>
- #include <stdint.h>
--#include <string>
-+#include <vector>
- 
- uint32_t UnicodeDefaultProcess(uint32_t ch);
- 
-@@ -80,11 +80,9 @@ template <typename CharT>
- }
- 
- template <typename CharT>
--std::basic_string<CharT> default_process(std::basic_string<CharT> s)
-+std::vector<CharT> default_process(std::vector<CharT> str)
- {
--    std::basic_string<CharT> str(s);
--
--    int64_t len = default_process(&str[0], str.size());
-+    int64_t len = default_process(str.data(), str.size());
-     str.resize(len);
-     return str;
- }
diff --git a/devel/py-rapidfuzz/files/patch-src_rapidfuzz_utils__cpp.hpp b/devel/py-rapidfuzz/files/patch-src_rapidfuzz_utils__cpp.hpp
deleted file mode 100644
index b7289a739904..000000000000
--- a/devel/py-rapidfuzz/files/patch-src_rapidfuzz_utils__cpp.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/rapidfuzz/utils_cpp.hpp.orig	2024-08-06 20:55:30 UTC
-+++ src/rapidfuzz/utils_cpp.hpp
-@@ -9,20 +9,20 @@ static inline PyObject* default_process_impl(PyObject*
-     switch (c_sentence.kind) {
-     case RF_UINT8:
-     {
--        auto proc_str = default_process(
--            std::basic_string<uint8_t>(static_cast<uint8_t*>(c_sentence.data), c_sentence.length));
-+        auto data = static_cast<uint8_t*>(c_sentence.data);
-+        auto proc_str = default_process(std::vector<uint8_t>(data, data + c_sentence.length));
-         return PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, proc_str.data(), (Py_ssize_t)proc_str.size());
-     }
-     case RF_UINT16:
-     {
--        auto proc_str = default_process(
--            std::basic_string<uint16_t>(static_cast<uint16_t*>(c_sentence.data), c_sentence.length));
-+        auto data = static_cast<uint16_t*>(c_sentence.data);
-+        auto proc_str = default_process(std::vector<uint16_t>(data, data + c_sentence.length));
-         return PyUnicode_FromKindAndData(PyUnicode_2BYTE_KIND, proc_str.data(), (Py_ssize_t)proc_str.size());
-     }
-     case RF_UINT32:
-     {
--        auto proc_str = default_process(
--            std::basic_string<uint32_t>(static_cast<uint32_t*>(c_sentence.data), c_sentence.length));
-+        auto data = static_cast<uint32_t*>(c_sentence.data);
-+        auto proc_str = default_process(std::vector<uint32_t>(data, data + c_sentence.length));
-         return PyUnicode_FromKindAndData(PyUnicode_4BYTE_KIND, proc_str.data(), (Py_ssize_t)proc_str.size());
-     }
-     // ToDo: for now do not process these elements should be done in some way in the future