mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
dev-python/levenshtein: Bump to 0.27.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST Levenshtein-0.26.1.gh.tar.gz 38429 BLAKE2B d217bf620f5ebe68a50230f7ce91f292f0a9cd9781b29a9e328e1e788d2d2f2ee71362a1ab660794f6adfa7e7267d9bc3685e9460754354226a6b964affd0ade SHA512 589b1f404108f488caf880063f20ee9c6a2033b0a2cd819352bf15e285ea8537c1dc8117de70679f720fd3da47546f7e0e5c620e4da8cf09bf8df9b119e6abc9
|
||||
DIST Levenshtein-0.27.0.gh.tar.gz 38338 BLAKE2B 2f4942907f5ccd1d9b521bf83fe0da93989825a9cdd12b768ccdc9213c5d47cebdf5f02cda6a21b9c6b41e02a4d755165d8ec234861aedb6a68ccb112f05510e SHA512 d66aea6b30365e43aa8a0492b15830872c422c8097c24d64a4b45756c28b74f7794363e332b9a13321e30728626ecdb9ffc8465f7c2f573a5fab27c735d5a5f6
|
||||
DIST Levenshtein-0.27.1.gh.tar.gz 38370 BLAKE2B 92618a2beb5a9ca90c07bc000fe8cbeb31609bf5e2c0085ec900d307b4e80058bbcf9911acaa70a4233057f915e33a24e2d47fb90251025f026af2700c08c4e2 SHA512 900614697dc6456223ac99d9a7eed007b605da44239806d9e7b736142c3e2ab2544abc5d206a03d99b8d1e24f7efb837fa1782477bf7854ad71d8d6f37c8e6c2
|
||||
|
||||
48
dev-python/levenshtein/levenshtein-0.27.1.ebuild
Normal file
48
dev-python/levenshtein/levenshtein-0.27.1.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-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
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P^}
|
||||
DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/Levenshtein/
|
||||
https://github.com/rapidfuzz/Levenshtein/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/rapidfuzz/Levenshtein/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
DEPEND="
|
||||
<dev-cpp/rapidfuzz-cpp-4
|
||||
>=dev-cpp/rapidfuzz-cpp-3.2.0
|
||||
"
|
||||
RDEPEND="
|
||||
<dev-python/rapidfuzz-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/rapidfuzz-3.9.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/cython-3.0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/scikit-build-core-0.11[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# sterilize build flags
|
||||
sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user