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 4F81D15ACFB for ; Mon, 17 Apr 2023 13:50:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D814E09B4; Mon, 17 Apr 2023 13:50:09 +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 674FEE09B4 for ; Mon, 17 Apr 2023 13:50:09 +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 348A0340DF9 for ; Mon, 17 Apr 2023 13:50:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62425A4A for ; Mon, 17 Apr 2023 13:50: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: <1681739397.c3ea5d15a749030fc08faf49c36f0cb40e5c3dbf.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rapidfuzz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rapidfuzz/Manifest dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild X-VCS-Directories: dev-python/rapidfuzz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c3ea5d15a749030fc08faf49c36f0cb40e5c3dbf X-VCS-Branch: master Date: Mon, 17 Apr 2023 13:50: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: 7c31c3b1-eceb-4914-a26b-41ea0a97344e X-Archives-Hash: 1ce8d3446c66652e46bd96d108329d74 commit: c3ea5d15a749030fc08faf49c36f0cb40e5c3dbf Author: Michał Górny gentoo org> AuthorDate: Mon Apr 17 13:30:16 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Apr 17 13:49:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ea5d15 dev-python/rapidfuzz: Bump to 3.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/rapidfuzz/Manifest | 1 + dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild | 48 +++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index acee19967517..bda2fa029942 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -2,3 +2,4 @@ DIST rapidfuzz-2.13.7.tar.gz 999972 BLAKE2B 1120a8fb91b03bc3d9bf6a04291f188df06d DIST rapidfuzz-2.14.0.tar.gz 997048 BLAKE2B 74ee7d6a6f5b41067eca5480e036270ac67d277523045d63ed04fc3ee570a092a6ebc35eeb8566452ec74d536c453634893759a29bb102fe381cca912637a38e SHA512 66599cb507786932d45d7366a7aa5e440375ec9c49c865743b6f2bf1f3ed748b5e9003ba6010568ba185031b995b41d47abe84e8af5575bdd3b055dbfb56920e DIST rapidfuzz-2.15.0.tar.gz 998377 BLAKE2B f749aef36791a2ec9a5dc870f5438af7088debd8b0abf5a44af37d31f84f577d540d18599a3d34641aa52a8e55db3cb491f43dc3c2f4b5fce8d8137c16c9ba7e SHA512 e77d34304a2145828aa183b1539f341c0761a84a481a0d72f3b15fda9564a7e1651ee3b255203bd270d5e5f70c5670f351d53e0bc560e94b8518cf67924a5e7a DIST rapidfuzz-2.15.1.tar.gz 1209658 BLAKE2B 2644566c4dd9e3db2ecd2a42f4d1b7c80dd34b0ca1b2e80f2906dacf5180f702b6c7445652a3ab95fecb53d07256f35351e4e88329e2423871e26db9bc5519bb SHA512 541877af22570d9324f1d4c4f2b54fdc16ce321b28aac5d5bcd61bd915f38b7eabecafea3d65372f556e3e80be39015d674cb18714c77d8ea971fe3d2986b90d +DIST rapidfuzz-3.0.0.tar.gz 1230857 BLAKE2B b15bcca17288cc428b485b0c6e1d322027eee5c8c0261b7f0240e4f5908ff2d53e05124855213a1923d96ec7537b75263c17f220bfaf792ab92f2f455d761027 SHA512 bafdb6045baa78154026dc0eb2498eb0031f03c36e8b17a9219d6e0c55041a9b6c164f4fcc0523480903fece0ab4e2e50a8f969a52b6934fcfbad80d8eadba25 diff --git a/dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild new file mode 100644 index 000000000000..44a7e6368305 --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-3.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# custom wrapper over setuptools +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/maxbachmann/RapidFuzz/ + https://pypi.org/project/rapidfuzz/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/rapidfuzz-cpp-1.11.2 + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +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 + + distutils-r1_src_prepare + + export RAPIDFUZZ_BUILD_EXTENSION=1 +}