head 1.45; access; symbols pkgsrc-2026Q1:1.44.0.4 pkgsrc-2026Q1-base:1.44 pkgsrc-2025Q4:1.44.0.2 pkgsrc-2025Q4-base:1.44 pkgsrc-2025Q3:1.41.0.2 pkgsrc-2025Q3-base:1.41 pkgsrc-2025Q2:1.38.0.2 pkgsrc-2025Q2-base:1.38 pkgsrc-2025Q1:1.37.0.2 pkgsrc-2025Q1-base:1.37 pkgsrc-2024Q4:1.32.0.2 pkgsrc-2024Q4-base:1.32 pkgsrc-2024Q3:1.29.0.2 pkgsrc-2024Q3-base:1.29 pkgsrc-2024Q2:1.25.0.2 pkgsrc-2024Q2-base:1.25 pkgsrc-2024Q1:1.19.0.2 pkgsrc-2024Q1-base:1.19 pkgsrc-2023Q4:1.17.0.2 pkgsrc-2023Q4-base:1.17 pkgsrc-2023Q3:1.14.0.2 pkgsrc-2023Q3-base:1.14 pkgsrc-2023Q2:1.10.0.2 pkgsrc-2023Q2-base:1.10; locks; strict; comment @# @; 1.45 date 2026.04.10.07.33.12; author adam; state Exp; branches; next 1.44; commitid ViYjiqLJmT9lRnBG; 1.44 date 2025.11.02.20.28.01; author adam; state Exp; branches; next 1.43; commitid Jz4vWPaS3fH0g1hG; 1.43 date 2025.10.31.10.29.57; author adam; state Exp; branches; next 1.42; commitid Aks2QipeLGUO0IgG; 1.42 date 2025.10.09.07.58.02; author wiz; state Exp; branches; next 1.41; commitid t4nMY0Dt3rBjSRdG; 1.41 date 2025.09.09.06.43.30; author adam; state Exp; branches; next 1.40; commitid F1lOARspkMtLq0aG; 1.40 date 2025.09.02.05.33.57; author adam; state Exp; branches; next 1.39; commitid lQp6f3c4h7JPg69G; 1.39 date 2025.07.03.19.18.11; author wiz; state Exp; branches; next 1.38; commitid VtH4NTLuuL94Nk1G; 1.38 date 2025.04.08.15.47.48; author adam; state Exp; branches; next 1.37; commitid KUFd6h71bR3nogQF; 1.37 date 2025.03.03.09.42.12; author adam; state Exp; branches; next 1.36; commitid YybAgQHF1gkNwBLF; 1.36 date 2025.03.03.09.02.07; author adam; state Exp; branches; next 1.35; commitid 8UswPNihUOOXiBLF; 1.35 date 2025.02.03.08.47.56; author adam; state Exp; branches; next 1.34; commitid N9sNkUsf2nBS70IF; 1.34 date 2025.02.02.10.35.25; author he; state Exp; branches; next 1.33; commitid 6X8ZbcMqwHdjKSHF; 1.33 date 2024.12.26.17.27.48; author adam; state Exp; branches; next 1.32; commitid T8lZPANbdGZYf2DF; 1.32 date 2024.10.24.17.27.27; author adam; state Exp; branches; next 1.31; commitid F3Z4jdOFf4dphWuF; 1.31 date 2024.10.14.06.46.01; author wiz; state Exp; branches; next 1.30; commitid ynDJEEQamKd33BtF; 1.30 date 2024.10.04.13.59.29; author adam; state Exp; branches; next 1.29; commitid j6GNpRUvIQuULlsF; 1.29 date 2024.09.03.05.10.25; author adam; state Exp; branches; next 1.28; commitid Zc0GfKbe3yMbQjoF; 1.28 date 2024.08.07.09.02.04; author adam; state Exp; branches; next 1.27; commitid XDigW2A1sIbtZRkF; 1.27 date 2024.07.30.03.59.12; author adam; state Exp; branches; next 1.26; commitid z1GJiY2PSdowzOjF; 1.26 date 2024.07.03.05.28.27; author adam; state Exp; branches; next 1.25; commitid UccIGRp2fEZVVlgF; 1.25 date 2024.06.05.15.24.42; author adam; state Exp; branches; next 1.24; commitid YBYFVb8BMdBf8OcF; 1.24 date 2024.05.22.07.16.15; author adam; state Exp; branches; next 1.23; commitid m7tOr9JMKh8BSXaF; 1.23 date 2024.05.05.16.35.03; author wiz; state Exp; branches; next 1.22; commitid xqlT4d5AxVdhwP8F; 1.22 date 2024.04.08.05.08.25; author adam; state Exp; branches; next 1.21; commitid iEc3ikxHeV4sAi5F; 1.21 date 2024.04.07.21.45.04; author wiz; state Exp; branches; next 1.20; commitid qaQn9KT3WR2r8g5F; 1.20 date 2024.04.06.06.39.58; author wiz; state Exp; branches; next 1.19; commitid 6bsbAeWw97pH835F; 1.19 date 2024.03.12.08.09.33; author wiz; state Exp; branches; next 1.18; commitid bv6NVwXMOfCtsQ1F; 1.18 date 2023.12.31.21.33.52; author wiz; state Exp; branches; next 1.17; commitid UUyo5mm0jxlTdFSE; 1.17 date 2023.12.25.22.19.59; author spz; state Exp; branches; next 1.16; commitid x3np2mphEVjrFTRE; 1.16 date 2023.11.07.09.14.23; author wiz; state Exp; branches; next 1.15; commitid AiFjUUGEhpnMRELE; 1.15 date 2023.10.13.10.14.58; author adam; state Exp; branches; next 1.14; commitid rGgliTEZo8nk0sIE; 1.14 date 2023.08.10.12.00.55; author adam; state Exp; branches; next 1.13; commitid n8AttbHn7prcEeAE; 1.13 date 2023.08.01.23.20.54; author wiz; state Exp; branches; next 1.12; commitid lyjXpsSeA6xpH8zE; 1.12 date 2023.07.03.13.54.32; author gdt; state Exp; branches; next 1.11; commitid ZlhicE8J6WV2vmvE; 1.11 date 2023.07.01.08.37.42; author wiz; state Exp; branches; next 1.10; commitid OGZpaIgVtdY8O4vE; 1.10 date 2023.06.25.23.42.14; author gdt; state Exp; branches 1.10.2.1; next 1.9; commitid N9hIKKN3kMsB0ouE; 1.9 date 2023.06.25.21.23.10; author wiz; state Exp; branches; next 1.8; commitid IaNMgN85pwESenuE; 1.8 date 2023.06.25.18.17.33; author js; state Exp; branches; next 1.7; commitid qxtNqmYH4ZtadmuE; 1.7 date 2023.06.22.10.52.35; author jperkin; state Exp; branches; next 1.6; commitid PbkpT6ZzePDvQVtE; 1.6 date 2023.06.13.18.20.22; author wiz; state Exp; branches; next 1.5; commitid vU8Z1W0uZOL0COsE; 1.5 date 2023.06.08.15.19.02; author gdt; state Exp; branches; next 1.4; commitid 5He8JPOTgpxQL9sE; 1.4 date 2023.06.08.14.08.19; author gdt; state Exp; branches; next 1.3; commitid oQufwFXGMhLAn9sE; 1.3 date 2023.06.06.20.53.15; author wiz; state Exp; branches; next 1.2; commitid spenf6b6ftLsGVrE; 1.2 date 2023.06.06.09.39.09; author wiz; state Exp; branches; next 1.1; commitid gM5DvbDqhjg6XRrE; 1.1 date 2023.04.17.20.35.02; author adam; state Exp; branches; next ; commitid j67QAVYqEm9MbvlE; 1.10.2.1 date 2023.07.03.12.58.26; author gdt; state Exp; branches; next 1.10.2.2; commitid aScgwRsV6KZMbmvE; 1.10.2.2 date 2023.07.03.13.53.33; author gdt; state Exp; branches; next 1.10.2.3; commitid INoZSg0e0tlHumvE; 1.10.2.3 date 2023.07.03.20.57.52; author bsiegert; state Exp; branches; next ; commitid RVatZmC2miXgQovE; desc @@ 1.45 log @py-rapidfuzz: updated to 3.14.5 3.14.5 Fixed * fix release ci attempting to upload a pyodide wheel @ text @# $NetBSD: Makefile,v 1.44 2025/11/02 20:28:01 adam Exp $ DISTNAME= rapidfuzz-3.14.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=r/rapidfuzz/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/maxbachmann/RapidFuzz COMMENT= Rapid fuzzy string matching LICENSE= mit TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build-core>=0.11.0:../../devel/py-scikit-build-core # optional dependency, but not optional for testing TEST_DEPENDS+= ${PYPKGPREFIX}-numpy>0:../../math/py-numpy TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>0:../../devel/py-hypothesis PLIST_SUBST+= PYTHON_VERSION=${_PYTHON_VERSION} PLIST_VARS+= avx2 PLIST_VARS+= sse2 # x86_64 may use avx2, i386 may use avx2 or sse2 # docs say it'll build them in any case and then autodetect at runtime # whether the system supports it (using _feature_detector_cpp.so) .if ${MACHINE_ARCH} == "x86_64" PLIST.avx2= yes .else . if ${MACHINE_ARCH} == "i386" PLIST.avx2= yes PLIST.sse2= yes . endif .endif USE_CXX_FEATURES= c++17 USE_LANGUAGES= c c++ GCC_REQD+= 10 BUILDLINK_TRANSFORM.SunOS+= rm:-fno-fat-lto-objects PYTHON_VERSIONS_INCOMPATIBLE= 310 post-install: ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/rapidfuzz/CMakeLists.txt.orig \ ${DESTDIR}${PREFIX}/${PYSITELIB}/rapidfuzz/distance/CMakeLists.txt.orig .include "../../lang/python/wheel.mk" .include "../../mk/atomic64.mk" .include "../../mk/bsd.pkg.mk" @ 1.44 log @py-rapidfuzz: updated to 3.14.3 3.14.3 Fixed * add missing pypy and freethreaded linux wheels @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2025/10/31 10:29:57 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.14.3 @ 1.43 log @py-rapidfuzz: updated to 3.14.2 3.14.2 Changed * upgrade to ``Cython==3.1.6`` * enable free threading @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2025/10/09 07:58:02 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.14.2 @ 1.42 log @*: remove reference to (removed) Python 3.9 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2025/09/09 06:43:30 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.14.1 @ 1.41 log @py-rapidfuzz: updated to 3.14.1 3.14.1 Fixed * Fully disable line tracing in release builds @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2025/09/02 05:33:57 adam Exp $ d40 1 a40 1 PYTHON_VERSIONS_INCOMPATIBLE= 39 310 @ 1.40 log @py-rapidfuzz: updated to 3.14.0 3.14.0 Changed * upgrade to ``Cython==3.1.3``. This enables compilation with free threaded python. * upgrade to ``rapidfuzz-cpp==3.3.`` Added * add support for freethreaded Python * add python 3.14 wheels Removed * dropped support for Python3.9 * drop 32 bit linux wheels Fixed * remove unused hook-dirs from pyinstaller config to fix a warning * fixed WRatio for a length ratio of exactly 8.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2025/07/03 19:18:11 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.14.0 @ 1.39 log @*: py-numpy needs Python >= 3.11 now @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2025/04/08 15:47:48 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.13.0 @ 1.38 log @py-rapidfuzz: updated to 3.13.0 3.13.0 Added * add support for arrays of type 'w' * add support for any DTypeLike as dtype in ``cdist`` and ``cpdist`` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2025/03/03 09:42:12 adam Exp $ d40 2 @ 1.37 log @py-rapidfuzz: fix DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2025/03/03 09:02:07 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.12.2 @ 1.36 log @py-rapidfuzz: updated to 3.12.2 3.12.2 Added * added wheels for pypy 3.11 Changed * upgrade to ``Cython==3.0.12`` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2025/02/03 08:47:56 adam Exp $ d14 1 a14 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build-core>=0.10.7:../../devel/py-scikit-build-core d16 2 a17 2 TEST_DEPENDS+= ${PYPKGPREFIX}-numpy>=0:../../math/py-numpy TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=0:../../devel/py-hypothesis @ 1.35 log @py-rapidfuzz: updated to 3.12.1 3.12.1 Fixed * fix version number 3.12.0 Changed * generate code for fallback imports to be better parseable for tools bundling Python applications into a single binary (examples are cx-freeze and pyinstaller) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2025/02/02 10:35:25 he Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.12.1 @ 1.34 log @textproc/py-rapidfuzz: use atomic64.mk to fix build on macppc. Contrary to other recent fixes in this category, this is needed also in python 3.10, 3.11, and 3.12 (as well as 3.13, of course). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2024/12/26 17:27:48 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.11.0 @ 1.33 log @py-rapidfuzz: updated to 3.11.0 3.11.0 Performance - improve calculation of min score inside partial_ratio so it can skip more alignments Added - added build support for emscripten @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2024/10/24 17:27:27 adam Exp $ d45 1 @ 1.32 log @py-rapidfuzz: updated to 3.10.1 3.10.1 - 2024-10-24 Fixed - fix compilation on clang-19 - fix incorrect results in simd optimized implementation of Levenshtein and OSA on 32bit targets @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2024/10/14 06:46:01 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.10.1 @ 1.31 log @*: clean-up after python38 removal @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2024/10/04 13:59:29 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.10.0 @ 1.30 log @py-rapidfuzz: updated to 3.10.0 3.10.0 Fixed - drop support for Python 3.8 - switch build system to `scikit-build-core` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2024/09/03 05:10:25 adam Exp $ a18 2 PYTHON_VERSIONS_INCOMPATIBLE= 38 @ 1.29 log @py-rapidfuzz: updated to 3.9.7 3.9.7 Fixed * fix crash in ``cdist`` due to Visual Studio upgrade @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2024/08/07 09:02:04 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.9.7 d14 1 a14 2 TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.18.0:../../devel/py-scikit-build TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=42:../../devel/py-setuptools d42 4 @ 1.28 log @py-rapidfuzz: updated to 3.9.6 3.9.6 Changed * upgrade to ``Cython==3.0.11`` * add python 3.13 wheels @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2024/07/30 03:59:12 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.9.6 d20 1 a20 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 38 @ 1.27 log @py-rapidfuzz: updated to 3.9.5 3.9.5 - 2024-07-29 Fixed * include simd binaries in pyinstaller builds * fix builds with setuptools 72 by upgrading `scikit-build` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2024/07/03 05:28:27 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.9.5 @ 1.26 log @py-rapidfuzz: updated to 3.9.4 3.9.4 Fixed * fix bug in ``Levenshtein.editops`` and ``Levenshtein.opcodes`` which could lead to incorrect results and crashes for some inputs @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2024/06/05 15:24:42 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.9.4 d14 2 a15 1 TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.17.0:../../devel/py-scikit-build @ 1.25 log @py-rapidfuzz: updated to 3.9.3 3.9.3 Fixed * fix None handling for queries in ``process.cdist`` for scorers not supporting SIMD 3.9.2 Fixed * fix supported versions of taskflow in cmake to be in the range v3.3 - v3.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2024/05/22 07:16:15 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.9.3 @ 1.24 log @py-rapidfuzz: updated to 3.9.1 3.9.1 - 2024-05-19 Fixed * disable AVX2 on MacOS since it did lead to illegal instructions being generated @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2024/05/05 16:35:03 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.9.1 @ 1.23 log @py-rapidfuzz: update to 3.9.0. [3.9.0] - 2024-05-02 ^^^^^^^^^^^^^^^^^^^^ Changed ~~~~~~~ * significantly improve type hints for the library Fixed ~~~~~ * fix cmake version parsing @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2024/04/08 05:08:25 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.9.0 @ 1.22 log @py-rapidfuzz: updated to 3.8.1 3.8.1 Fixed * use the correct version of `rapidfuzz-cpp` when building against a system installed version @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2024/04/07 21:45:04 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.8.1 @ 1.21 log @py-rapidfuzz: update to 3.8.0. [3.8.0] - 2024-04-06 ^^^^^^^^^^^^^^^^^^^^ Added ~~~~~ * added ``process.cpdist`` which allows pairwise comparision of two collection of inputs Fixed ~~~~~ - fix some minor errors in the type hints - fix potentially incorrect results of JaroWinkler when using high prefix weights @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2024/04/06 06:39:58 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.8.0 @ 1.20 log @py-rapidfuzz: update to 3.7.0. [3.7.0] - 2024-03-21 ^^^^^^^^^^^^^^^^^^^^ Changed ~~~~~~~ * reduce importtime @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2024/03/12 08:09:33 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.7.0 @ 1.19 log @py-rapidfuzz: update to 3.6.2. [3.6.2] - 2024-03-05 ^^^^^^^^^^^^^^^^^^^^ Changed ~~~~~~~ * upgrade to ``Cython==3.0.9`` Fixed ~~~~~ * upgrade ``rapidfuzz-cpp`` which includes a fix for build issues on some compilers * fix some issues with the sphinx config @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2023/12/31 21:33:52 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.6.2 a14 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.1:../../devel/py-test @ 1.18 log @py-rapidfuzz: update to 3.6.1. [3.6.1] - 2023-12-28 ^^^^^^^^^^^^^^^^^^^^ Fixed ~~~~~ - fix overflow error on systems with ``sizeof(size_t) < 8`` [3.6.0] - 2023-12-26 ^^^^^^^^^^^^^^^^^^^^ Fixed ~~~~~ - fix pure python fallback implementation of ``fuzz.token_set_ratio`` - properly link with ``-latomic`` if ``std::atomic`` is not natively supported Performance ~~~~~~~~~~~ * add banded implementation of LCS / Indel. This improves the runtime from ``O((|s1|/64) * |s2|)`` to ``O((score_cutoff/64) * |s2|)`` Changed ~~~~~~~ * upgrade to ``Cython==3.0.7`` * cdist for many metrics now returns a matrix of ``uint32`` instead of ``int32`` by default @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2023/12/25 22:19:59 spz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.6.1 @ 1.17 log @py-rapidfuzz: sort out simd for i386 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2023/11/07 09:14:23 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.5.2 d31 1 a31 1 . if ${MACHINE_ARCH} == "i386" d34 1 a34 1 . endif @ 1.16 log @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 Winkler @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2023/10/13 10:14:58 adam Exp $ d24 4 a27 2 # Only x86_64 is guaranteed to have avx2; while some i386 CPUs do, our # build target does not. d30 5 @ 1.15 log @py-rapidfuzz: updated to 3.4.0 [3.4.0] - 2023-10-09 Changed - upgrade to ``Cython==3.0.3`` - add simd implementation for Jaro and Jaro Winkler [3.3.1] - 2023-09-25 Added - add missing tag for python 3.12 support [3.3.0] - 2023-09-11 Changed - upgrade to ``Cython==3.0.2`` - implement the remaining missing features from the C++ implementation in the pure Python implementation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2023/08/10 12:00:55 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.4.0 d36 1 a36 5 # needs 'make install' do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" @ 1.14 log @py-rapidfuzz: updated to 3.2.0 3.2.0 Changed - build x86 with sse2/avx2 runtime detection 3.1.2 Changed - upgrade to ``Cython==3.0.0`` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2023/08/01 23:20:54 wiz Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.2.0 d30 3 a32 2 USE_LANGUAGES= c c++17 GCC_REQD+= 10 @ 1.13 log @*: remove more references to Python 3.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2023/07/03 13:54:32 gdt Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.1.1 d13 1 a14 1 TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake @ 1.12 log @textprox/py-rapidfuzz: Exclude i386 from avx2 PLIST conditional This package had untested code to expect three files that are avx2-only when building on i386, but those files don't actually get built. This is almost certainly because not all i486-and-up CPUs have avx2 instructions. Resolves failure to package on NetBSD 9 i386 using cpu0: "Intel(R) Core(TM)2 Duo CPU T8100 @@ 2.10GHz" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10.2.1 2023/07/03 12:58:26 gdt Exp $ d20 1 a20 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38 @ 1.11 log @*: restrict py-numpy users to 3.9+ in preparation for update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/06/25 23:42:14 gdt Exp $ d24 3 a26 1 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" @ 1.10 log @textproc/py-rapidfuzz: Spell amd64 correctly as x86_64 This is MACHINE_ARCH, not MACHINE. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2023/06/25 21:23:10 wiz Exp $ d20 1 a20 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.10.2.1 log @textprox/py-rapidfuzz: Exclude i386 from avx2 PLIST conditional This package had untested code to expect three files that are avx2-only when building on i386, but those files don't actually get built. This is almost certainly because not all i486-and-up CPUs have avx2 instructions. Resolves failure to package on NetBSD 9 i386 using cpu0: "Intel(R) Core(TM)2 Duo CPU T8100 @@ 2.10GHz" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/06/25 23:42:14 gdt Exp $ d24 1 a24 3 # Only x86_64 is guaranteed to have avx2; while some i386 CPUs do, our # build target does not. .if ${MACHINE_ARCH} == "x86_64" @ 1.10.2.2 log @textproc/py-rapidfuzz: Revert commit wrongly on branch @ text @d24 3 a26 1 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" @ 1.10.2.3 log @Pullup ticket #6773 - requested by gdt textproc/py-rapidfuzz: i386 build fix Revisions pulled up: - textproc/py-rapidfuzz/Makefile 1.12 --- Module Name: pkgsrc Committed By: gdt Date: Mon Jul 3 13:54:32 UTC 2023 Modified Files: pkgsrc/textproc/py-rapidfuzz: Makefile Log Message: textprox/py-rapidfuzz: Exclude i386 from avx2 PLIST conditional This package had untested code to expect three files that are avx2-only when building on i386, but those files don't actually get built. This is almost certainly because not all i486-and-up CPUs have avx2 instructions. Resolves failure to package on NetBSD 9 i386 using cpu0: "Intel(R) Core(TM)2 Duo CPU T8100 @@ 2.10GHz" @ text @d1 1 a1 1 # $NetBSD$ d24 1 a24 3 # Only x86_64 is guaranteed to have avx2; while some i386 CPUs do, our # build target does not. .if ${MACHINE_ARCH} == "x86_64" @ 1.9 log @py-rapidfuzz: fix on x86 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2023/06/25 18:17:33 js Exp $ d24 1 a24 1 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" @ 1.8 log @Fix textproc/py-rapidfuzz on !x86 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2023/06/22 10:52:35 jperkin Exp $ d25 1 a25 1 PLIST.amd64= yes @ 1.7 log @py-rapidfuzz: Remove bogus compiler flags on SunOS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2023/06/13 18:20:22 wiz Exp $ d23 4 @ 1.6 log @py-rapidfuzz: try fixing build with Python 3.8 and 3.9 Fix pkglint while here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2023/06/08 15:19:02 gdt Exp $ d27 2 @ 1.5 log @textproc/py-rapidfuzz: Actually change to gcc10 (The previous commit explained why I chose 10 for GCC_REQD, but accidentally contained 8 because I was testing that. While 8 seems to work, various code is increasingly troubled by non-recent compilers, and it doesn't seem useful to try to live on the edge.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2023/06/08 14:08:19 gdt Exp $ d22 1 a22 1 PLIST_SUBST+= PYTHON_VERSION=${PYTHON_VERSION} d25 1 a25 1 GCC_REQD= 10 @ 1.4 log @textproc/py-rapidjson: Increase compiler requirements On netbsd-9, some files failed to build with an ICE. (The upstream build system unhelpfully retried the build without the C extension, making this harder to debug, but PLIST caught it.) Declare C++17 because upstream README says so. Require gcc 10, because gcc 7 on NetBSD 9 fails, and 10 is the new normal. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2023/06/06 20:53:15 wiz Exp $ d25 1 a25 1 GCC_REQD= 8 @ 1.3 log @py-rapidfuzz: update to 3.1.1. Changed upgrade to taskflow==3.6 Fixed replace usage of isnan with std::isnan which fixes the build on NetBSD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2023/06/06 09:39:09 wiz Exp $ d24 2 a25 1 USE_LANGUAGES= c c++ @ 1.2 log @py-rapidfuzz: update to 3.1.0. pkgsrc change: Build C extension. [3.1.0] - 2023-06-02 ^^^^^^^^^^^^^^^^^^^^ Changed ~~~~~~~ - added keyword argument ``pad`` to Hamming distance. This controls whether sequences of different length should be padded or lead to a ``ValueError`` - improve consistency of exception messages between the C++ and pure Python implementation - upgrade required Cython version to ``Cython==3.0.0b3`` Fixed ~~~~~ - fix missing GIL restore when an exception is thrown inside ``process.cdist`` - fix incorrect type hints for the ``process`` module @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2023/04/17 20:35:02 adam Exp $ d3 1 a3 1 DISTNAME= rapidfuzz-3.1.0 a25 14 # https://github.com/maxbachmann/RapidFuzz/issues/330 SUBST_CLASSES+= isnan SUBST_SED.isnan= -e 's/isnan/std::isnan/' SUBST_FILES.isnan+= src/rapidfuzz/distance/metrics_cpp.cxx SUBST_FILES.isnan+= src/rapidfuzz/distance/metrics_cpp.pyx SUBST_FILES.isnan+= src/rapidfuzz/distance/metrics_cpp_avx2.cxx SUBST_FILES.isnan+= src/rapidfuzz/fuzz_cpp.cxx SUBST_FILES.isnan+= src/rapidfuzz/fuzz_cpp.pyx SUBST_FILES.isnan+= src/rapidfuzz/fuzz_cpp_avx2.cxx SUBST_FILES.isnan+= src/rapidfuzz/process_cpp_impl.cxx SUBST_FILES.isnan+= src/rapidfuzz/process_cpp_impl.pyx SUBST_MESSAGE.isnan= Fixing isnan issue. SUBST_STAGE.isnan= post-extract @ 1.1 log @py-rapidfuzz: added version 3.0.0 RapidFuzz is a fast string matching library for Python and C++, which is using the string similarity calculations from FuzzyWuzzy. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= rapidfuzz-3.0.0 d13 2 d16 3 d22 19 @