From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6B671581FD for ; Tue, 09 Sep 2025 03:22:33 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8B632340F99 for ; Tue, 09 Sep 2025 03:22:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2687D11056F; Tue, 09 Sep 2025 03:22:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1D08C11056F for ; Tue, 09 Sep 2025 03:22:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C7D36340C7B for ; Tue, 09 Sep 2025 03:22:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D46338B0 for ; Tue, 09 Sep 2025 03:22:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1757388127.bbde761b259609510db87fb1985d3ab6a9f3a0a5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rapidfuzz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rapidfuzz/Manifest dev-python/rapidfuzz/rapidfuzz-3.14.1.ebuild X-VCS-Directories: dev-python/rapidfuzz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bbde761b259609510db87fb1985d3ab6a9f3a0a5 X-VCS-Branch: master Date: Tue, 09 Sep 2025 03:22:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c4ab195-c4a9-4d38-b6a6-7ec197675a57 X-Archives-Hash: cda571c8df8d91c2f282d31e42f5f874 commit: bbde761b259609510db87fb1985d3ab6a9f3a0a5 Author: Michał Górny gentoo org> AuthorDate: Tue Sep 9 02:18:57 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Sep 9 03:22:07 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbde761b dev-python/rapidfuzz: Bump to 3.14.1 Signed-off-by: Michał Górny gentoo.org> dev-python/rapidfuzz/Manifest | 1 + dev-python/rapidfuzz/rapidfuzz-3.14.1.ebuild | 50 ++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index fefbbe0aabd8..1a65efbebe6f 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,2 +1,3 @@ DIST rapidfuzz-3.13.0.tar.gz 57904226 BLAKE2B c71b8a5642d4f15ec96a7ad17b9053d06a46a2a7cc86083f119082325fbfe11558c44682f6c555ce9212510e2336f5ec13f91007c165afce74faf9662ca32f71 SHA512 6890d9a00e67b2efd89fd8582b7055ac006ed323ad254d8c640826b724f107063e1e4b8a88a905194f0b61d044cd0765a6715647cbaf04290165bcc5658550f3 DIST rapidfuzz-3.14.0.tar.gz 58073448 BLAKE2B 550febc3093d53de93e4ae9271d2a2928bead0d73ad52ea9091c59db898f2bd95e13a7f01f27d5080601208acac70b3793b1eb6fb393d29fccf5ac25b43c21ef SHA512 1b20802b794993aa727a76622b0666e4f5986f8b99c282fd6adc44c0dc4a21ec941959db7d5bd2556754e4d715d749e7dc0f549170690269d5a78dd67ec8ecfa +DIST rapidfuzz-3.14.1.tar.gz 57869570 BLAKE2B 6eccd859b80413652ab055c3802deec650945f77e4addba3f6fe062c3c1054bcfcabfb98d17aa317f81de41722982229ca83c419609a341d116c8ba85d7d71c8 SHA512 26a27055d9b591883d35805945b54e4b0710aaa11703874e30ecf40ecfe091628dcf03a98fdc060fa5f20b6c4d7e23fd977fc0ca134bd1993a33c2a52cb57395 diff --git a/dev-python/rapidfuzz/rapidfuzz-3.14.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.14.1.ebuild new file mode 100644 index 000000000000..9af48e4c29ac --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-3.14.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core +PYPI_PN=RapidFuzz +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/rapidfuzz/RapidFuzz/ + https://pypi.org/project/RapidFuzz/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/rapidfuzz-cpp-3.3.3 + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # sterilize build flags + sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die + # remove bundled libraries + rm -r extern || die + # force recythonization + find src -name '*.cxx' -delete || die + # do not require exact taskflow version + sed -i -e '/Taskflow/s:3\.10\.0::' CMakeLists.txt || die + + distutils-r1_src_prepare + + export RAPIDFUZZ_BUILD_EXTENSION=1 +}