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 9F955158064 for ; Fri, 3 May 2024 03:42:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F8A4E2A15; Fri, 3 May 2024 03:42:53 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E66A1E2A15 for ; Fri, 3 May 2024 03:42:52 +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 D0BC233B864 for ; Fri, 3 May 2024 03:42:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 38CF819DA for ; Fri, 3 May 2024 03:42:50 +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: <1714707763.c545b69e5faaa4344117ac9ee8b84188dacdb4c7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyxDamerauLevenshtein/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyxDamerauLevenshtein/Manifest dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild X-VCS-Directories: dev-python/pyxDamerauLevenshtein/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c545b69e5faaa4344117ac9ee8b84188dacdb4c7 X-VCS-Branch: master Date: Fri, 3 May 2024 03:42:50 +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: adcd74c3-e472-473d-beea-772c69791893 X-Archives-Hash: 3e968b437bb515c33e98d7f46d3fed93 commit: c545b69e5faaa4344117ac9ee8b84188dacdb4c7 Author: Michał Górny gentoo org> AuthorDate: Fri May 3 03:33:37 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 3 03:42:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c545b69e dev-python/pyxDamerauLevenshtein: Bump to 1.8.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pyxDamerauLevenshtein/Manifest | 1 + .../pyxDamerauLevenshtein-1.8.0.ebuild | 41 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/pyxDamerauLevenshtein/Manifest b/dev-python/pyxDamerauLevenshtein/Manifest index 30d65685f37c..54d657d53309 100644 --- a/dev-python/pyxDamerauLevenshtein/Manifest +++ b/dev-python/pyxDamerauLevenshtein/Manifest @@ -1 +1,2 @@ DIST pyxDamerauLevenshtein-1.7.1.gh.tar.gz 43690 BLAKE2B 52950fa10667775828ee57ae9f68ea06bf8cf4e794c3cf27189fbc1affe877ee2537a5dfc3173a58a8b9ccfae664190e4eac250ddbc7cbeda748af033dd3fbbb SHA512 d16be05305ac8cdabecae90353e68cc51ac99ea88338fafe8379f6969434a9e3e3ac95ba58f71d15ccfcadfb3a9fbe30af563ec848e54115c64c83c69596e116 +DIST pyxDamerauLevenshtein-1.8.0.gh.tar.gz 9175 BLAKE2B 2c17ee794153071081cb463597a85d1428eb0620f4f30966a0deb257eb03efb34f95c45fc7d90a22bfd5034283ba7ba08ab1338278f0d81024e45d6ab8d19b05 SHA512 87429f8c106b31c024893313645d9f7af04f855c01009a461a59c506ac778be717c3052af47e9dce53a28c00ed4ee47347e975e9f8ccb50eb504c97b7d580206 diff --git a/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild new file mode 100644 index 000000000000..ba5134da1eae --- /dev/null +++ b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Implements the Damerau-Levenshtein edit distance algorithm for Python in Cython" +HOMEPAGE=" + https://github.com/lanl/pyxDamerauLevenshtein/ + https://pypi.org/project/pyxDamerauLevenshtein/ +" +SRC_URI=" + https://github.com/lanl/pyxDamerauLevenshtein/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_configure() { + # recythonize + cd pyxdameraulevenshtein || die + cython -3 -f *.pyx || die +} + +src_test() { + rm -r pyxdameraulevenshtein || die + distutils-r1_src_test +}