dev-python/rapidfuzz: Bump to 3.14.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-28 05:26:06 +02:00
parent 3a105c7086
commit e6a32e913c
2 changed files with 51 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST rapidfuzz-3.13.0.tar.gz 57904226 BLAKE2B c71b8a5642d4f15ec96a7ad17b9053d06a46a2a7cc86083f119082325fbfe11558c44682f6c555ce9212510e2336f5ec13f91007c165afce74faf9662ca32f71 SHA512 6890d9a00e67b2efd89fd8582b7055ac006ed323ad254d8c640826b724f107063e1e4b8a88a905194f0b61d044cd0765a6715647cbaf04290165bcc5658550f3
DIST rapidfuzz-3.14.0.tar.gz 58073448 BLAKE2B 550febc3093d53de93e4ae9271d2a2928bead0d73ad52ea9091c59db898f2bd95e13a7f01f27d5080601208acac70b3793b1eb6fb393d29fccf5ac25b43c21ef SHA512 1b20802b794993aa727a76622b0666e4f5986f8b99c282fd6adc44c0dc4a21ec941959db7d5bd2556754e4d715d749e7dc0f549170690269d5a78dd67ec8ecfa

View File

@@ -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
}