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 5D242158088 for ; Sun, 02 Nov 2025 04:22:05 +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 47C75340D7F for ; Sun, 02 Nov 2025 04:22:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4611611057D; Sun, 02 Nov 2025 04:21:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3C84B11057C for ; Sun, 02 Nov 2025 04:21:44 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E9C5D340D32 for ; Sun, 02 Nov 2025 04:21:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DEC13BC2 for ; Sun, 02 Nov 2025 04:21:41 +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: <1762057228.dea209666ca81f3cace20df7aa8759df16f1ff1d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/levenshtein/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/levenshtein/Manifest dev-python/levenshtein/levenshtein-0.27.3.ebuild X-VCS-Directories: dev-python/levenshtein/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dea209666ca81f3cace20df7aa8759df16f1ff1d X-VCS-Branch: master Date: Sun, 02 Nov 2025 04:21:41 +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: c62e054f-1167-42e1-9f87-90d15fcdd687 X-Archives-Hash: c3d651fcaef17ec3e95b6e95334cccd2 commit: dea209666ca81f3cace20df7aa8759df16f1ff1d Author: Michał Górny gentoo org> AuthorDate: Sun Nov 2 04:11:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 2 04:20:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea20966 dev-python/levenshtein: Bump to 0.27.3 Signed-off-by: Michał Górny gentoo.org> dev-python/levenshtein/Manifest | 1 + dev-python/levenshtein/levenshtein-0.27.3.ebuild | 49 ++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/levenshtein/Manifest b/dev-python/levenshtein/Manifest index 8b81892ebda2..a6fcdf5375a3 100644 --- a/dev-python/levenshtein/Manifest +++ b/dev-python/levenshtein/Manifest @@ -1 +1,2 @@ DIST Levenshtein-0.27.1.gh.tar.gz 38370 BLAKE2B 92618a2beb5a9ca90c07bc000fe8cbeb31609bf5e2c0085ec900d307b4e80058bbcf9911acaa70a4233057f915e33a24e2d47fb90251025f026af2700c08c4e2 SHA512 900614697dc6456223ac99d9a7eed007b605da44239806d9e7b736142c3e2ab2544abc5d206a03d99b8d1e24f7efb837fa1782477bf7854ad71d8d6f37c8e6c2 +DIST Levenshtein-0.27.3.gh.tar.gz 37467 BLAKE2B 8d8c5b445a8a01664dac6cb336ace8c3a48c0e1db2434bc907683432a32462bb8503d3327ac2aa4fbd1d3b11fc45d38de23dd84498ea5da31c5baf01555a3ff7 SHA512 1102d6421066ea59c821416d80eec99044fd574659db2e063a5564249afddac097e740788b8d0f5c1c3c72c1a4d3ae94f027ac8609f5ad1cadde378aaee9bf43 diff --git a/dev-python/levenshtein/levenshtein-0.27.3.ebuild b/dev-python/levenshtein/levenshtein-0.27.3.ebuild new file mode 100644 index 000000000000..c7eef5b93ecb --- /dev/null +++ b/dev-python/levenshtein/levenshtein-0.27.3.ebuild @@ -0,0 +1,49 @@ +# 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_{11..14} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + =dev-cpp/rapidfuzz-cpp-3.2.0 +" +RDEPEND=" + =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}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + # sterilize build flags + sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die + + distutils-r1_src_prepare +}