py-rapidfuzz: update to 3.5.2. [3.5.2] - 2023-11-02 ^^^^^^^^^^^^^^^^^^^^ Fixed ~~~~~ * use _mm_malloc/_mm_free on macOS if aligned_alloc is unsupported [3.5.1] - 2023-10-31 ^^^^^^^^^^^^^^^^^^^^ Fixed ~~~~~ * fix compilation failure on macOS [3.5.0] - 2023-10-31 ^^^^^^^^^^^^^^^^^^^^ Changed ~~~~~~~ * skip pandas ``pd.NA`` similar to ``None`` * add ``score_multiplier`` argument to ``process.cdist`` which allows multiplying the end result scores with a constant factor. * drop support for Python 3.7 Performance ~~~~~~~~~~~ * improve performance of simd implementation for ``LCS`` / ``Indel`` / ``Jaro`` / ``JaroWinkler`` * improve performance of Jaro and Jaro Winkler for long sequences * implement ``process.extract`` with ``limit=1`` using ``process.extractOne`` which can be faster Fixed ~~~~~ * the preprocessing function was always called through Python due to a broken C-API version check * fix wraparound issue in simd implementation of Jaro and Jaro Winklerdiff -r1.15 -r1.16 pkgsrc/textproc/py-rapidfuzz/Makefile
(wiz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2023/10/13 10:14:58 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2023/11/07 09:14:23 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= rapidfuzz-3.4.0 | 3 | DISTNAME= rapidfuzz-3.5.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= textproc python | 5 | CATEGORIES= textproc python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/rapidfuzz/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/rapidfuzz/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/maxbachmann/RapidFuzz | 9 | HOMEPAGE= https://github.com/maxbachmann/RapidFuzz | |
10 | COMMENT= Rapid fuzzy string matching | 10 | COMMENT= Rapid fuzzy string matching | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake | 13 | TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake | |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.17.0:../../devel/py-scikit-build | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.17.0:../../devel/py-scikit-build | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.1:../../devel/py-test | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.1:../../devel/py-test | |
16 | # optional dependency, but not optional for testing | 16 | # optional dependency, but not optional for testing | |
@@ -23,19 +23,15 @@ PLIST_SUBST+= PYTHON_VERSION=${_PYTHON_V | @@ -23,19 +23,15 @@ PLIST_SUBST+= PYTHON_VERSION=${_PYTHON_V | |||
23 | PLIST_VARS+= avx2 | 23 | PLIST_VARS+= avx2 | |
24 | # Only x86_64 is guaranteed to have avx2; while some i386 CPUs do, our | 24 | # Only x86_64 is guaranteed to have avx2; while some i386 CPUs do, our | |
25 | # build target does not. | 25 | # build target does not. | |
26 | .if ${MACHINE_ARCH} == "x86_64" | 26 | .if ${MACHINE_ARCH} == "x86_64" | |
27 | PLIST.avx2= yes | 27 | PLIST.avx2= yes | |
28 | .endif | 28 | .endif | |
29 | 29 | |||
30 | USE_CXX_FEATURES= c++17 | 30 | USE_CXX_FEATURES= c++17 | |
31 | USE_LANGUAGES= c c++ | 31 | USE_LANGUAGES= c c++ | |
32 | GCC_REQD+= 10 | 32 | GCC_REQD+= 10 | |
33 | 33 | |||
34 | BUILDLINK_TRANSFORM.SunOS+= rm:-fno-fat-lto-objects | 34 | BUILDLINK_TRANSFORM.SunOS+= rm:-fno-fat-lto-objects | |
35 | 35 | |||
36 | # needs 'make install' | 36 | .include "../../lang/python/wheel.mk" | |
37 | do-test: | |||
38 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | |||
39 | ||||
40 | .include "../../lang/python/egg.mk" | |||
41 | .include "../../mk/bsd.pkg.mk" | 37 | .include "../../mk/bsd.pkg.mk" |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2023/08/10 12:00:55 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2023/11/07 09:14:23 wiz Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
5 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
6 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 6 | ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 7 | ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt | |
8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |||
9 | ${PYSITELIB}/rapidfuzz/__init__.pxd | 8 | ${PYSITELIB}/rapidfuzz/__init__.pxd | |
10 | ${PYSITELIB}/rapidfuzz/__init__.py | 9 | ${PYSITELIB}/rapidfuzz/__init__.py | |
11 | ${PYSITELIB}/rapidfuzz/__init__.pyc | 10 | ${PYSITELIB}/rapidfuzz/__init__.pyc | |
12 | ${PYSITELIB}/rapidfuzz/__init__.pyi | 11 | ${PYSITELIB}/rapidfuzz/__init__.pyi | |
13 | ${PYSITELIB}/rapidfuzz/__init__.pyo | 12 | ${PYSITELIB}/rapidfuzz/__init__.pyo | |
14 | ${PYSITELIB}/rapidfuzz/__pyinstaller/__init__.py | 13 | ${PYSITELIB}/rapidfuzz/__pyinstaller/__init__.py | |
15 | ${PYSITELIB}/rapidfuzz/__pyinstaller/__init__.pyc | 14 | ${PYSITELIB}/rapidfuzz/__pyinstaller/__init__.pyc | |
16 | ${PYSITELIB}/rapidfuzz/__pyinstaller/__init__.pyo | 15 | ${PYSITELIB}/rapidfuzz/__pyinstaller/__init__.pyo | |
17 | ${PYSITELIB}/rapidfuzz/__pyinstaller/hook-rapidfuzz.py | 16 | ${PYSITELIB}/rapidfuzz/__pyinstaller/hook-rapidfuzz.py | |
18 | ${PYSITELIB}/rapidfuzz/__pyinstaller/hook-rapidfuzz.pyc | 17 | ${PYSITELIB}/rapidfuzz/__pyinstaller/hook-rapidfuzz.pyc | |
19 | ${PYSITELIB}/rapidfuzz/__pyinstaller/hook-rapidfuzz.pyo | 18 | ${PYSITELIB}/rapidfuzz/__pyinstaller/hook-rapidfuzz.pyo | |
20 | ${PYSITELIB}/rapidfuzz/__pyinstaller/test_rapidfuzz_packaging.py | 19 | ${PYSITELIB}/rapidfuzz/__pyinstaller/test_rapidfuzz_packaging.py | |
21 | ${PYSITELIB}/rapidfuzz/__pyinstaller/test_rapidfuzz_packaging.pyc | 20 | ${PYSITELIB}/rapidfuzz/__pyinstaller/test_rapidfuzz_packaging.pyc |
@@ -1,7 +1,7 @@ | @@ -1,7 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2023/10/13 10:14:58 adam Exp $ | 1 | $NetBSD: distinfo,v 1.6 2023/11/07 09:14:23 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (rapidfuzz-3.4.0.tar.gz) = 933a72d1b9b3c51d86724fde5d44ba7a810395dc87ebe2eb1af129d3a6c26eb2 | 3 | BLAKE2s (rapidfuzz-3.5.2.tar.gz) = e88f37414015f6d1667e1b3f721a9b5ce10f7df0ca2e85f2364617f4c4dbcc48 | |
4 | SHA512 (rapidfuzz-3.4.0.tar.gz) = b90ef939d53b9ae775422ded53d9523da49c09a4e78aefeb19e2b47f365de00ae0e6d5729171aa28057011551308ae240114edaab7876687983aaed53176f3dd | 4 | SHA512 (rapidfuzz-3.5.2.tar.gz) = 65f7041558c1932ca916faa3c165f62694c7b261d626eb87579e25cd544e9be5bf6da073b6ee621ba2eba4662183315836acb0deda9bb33c1dc927e692438754 | |
5 | Size (rapidfuzz-3.4.0.tar.gz) = 1490201 bytes | 5 | Size (rapidfuzz-3.5.2.tar.gz) = 1524315 bytes | |
6 | SHA1 (patch-src_rapidfuzz_CMakeLists.txt) = c8295aeb7bcd3e2d0a1cc87ee608187606c88959 | 6 | SHA1 (patch-src_rapidfuzz_CMakeLists.txt) = c8295aeb7bcd3e2d0a1cc87ee608187606c88959 | |
7 | SHA1 (patch-src_rapidfuzz_distance_CMakeLists.txt) = 09a0d18a1bfa53164d163225c6bf6b51b8f81ba0 | 7 | SHA1 (patch-src_rapidfuzz_distance_CMakeLists.txt) = 09a0d18a1bfa53164d163225c6bf6b51b8f81ba0 |