From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45257158083 for ; Fri, 20 Sep 2024 05:12:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D349BE29AC; Fri, 20 Sep 2024 05:12:07 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97C5CE29AC for ; Fri, 20 Sep 2024 05:12:07 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A34063431CA for ; Fri, 20 Sep 2024 05:12:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C98627F7 for ; Fri, 20 Sep 2024 05:12:05 +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: <1726807031.2a9f73effa3753c43f80d8e152168755a7e5111c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/Levenshtein/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/Levenshtein/Levenshtein-0.26.0.ebuild dev-python/Levenshtein/Manifest X-VCS-Directories: dev-python/Levenshtein/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2a9f73effa3753c43f80d8e152168755a7e5111c X-VCS-Branch: master Date: Fri, 20 Sep 2024 05:12:05 +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: 4fe268fa-81e6-4610-850f-c2fd3315733d X-Archives-Hash: b38c2b3a4bcdd50a8667410de0966f1e commit: 2a9f73effa3753c43f80d8e152168755a7e5111c Author: Michał Górny gentoo org> AuthorDate: Fri Sep 20 04:37:11 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 20 04:37:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9f73ef dev-python/Levenshtein: Bump to 0.26.0 Signed-off-by: Michał Górny gentoo.org> dev-python/Levenshtein/Levenshtein-0.26.0.ebuild | 45 ++++++++++++++++++++++++ dev-python/Levenshtein/Manifest | 1 + 2 files changed, 46 insertions(+) diff --git a/dev-python/Levenshtein/Levenshtein-0.26.0.ebuild b/dev-python/Levenshtein/Levenshtein-0.26.0.ebuild new file mode 100644 index 000000000000..20b556469ade --- /dev/null +++ b/dev-python/Levenshtein/Levenshtein-0.26.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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 + +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 + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + =dev-cpp/rapidfuzz-cpp-3.0.0 +" +RDEPEND=" + =dev-python/rapidfuzz-3.9.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-3.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 +} diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest index b44f1f581efe..49acda299a21 100644 --- a/dev-python/Levenshtein/Manifest +++ b/dev-python/Levenshtein/Manifest @@ -1 +1,2 @@ DIST Levenshtein-0.25.1.gh.tar.gz 39060 BLAKE2B 9d058d910be7c6c3e668cca631a7da5bed678e219c96e4255dbf69c46cb3c55002928fcd90f39916b6c1a57845e9cf1a2327701ae21c662b81f909b9ea1f4bff SHA512 936dab36b15df6f2ee5425efb1fdb1490fb8f618ba453f464a6dd615bcc427e55ceee7474f06b34392871d9f38470b853602a11d8f9776eee66ec34156511ca4 +DIST Levenshtein-0.26.0.gh.tar.gz 38404 BLAKE2B c78a53ba9d5c10968f000264cd20e9d5bc155135765088d4cb7f3f937c6cb5c30f01c09c977e9c8a50d4d0bafab0ad89848102d6f28c57cd471b5901f652d175 SHA512 cf48aa9e81a90c6a9a4cc7033f5035dc89f45db9c7e35929c4b11e2b9af180a018d455a56b8c1f5c748db263401155950e1985a195613a5bb914050f5d68e998