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 74E9E158020 for ; Mon, 12 Dec 2022 14:34:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EF75E0828; Mon, 12 Dec 2022 14:34:46 +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 74167E0828 for ; Mon, 12 Dec 2022 14:34:46 +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 7DEA3340FEC for ; Mon, 12 Dec 2022 14:34:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3E4877D for ; Mon, 12 Dec 2022 14:34:43 +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: <1670855373.2d285abb40964be2dae54f38ef401edc176975f4.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/rapidfuzz-cpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/rapidfuzz-cpp/Manifest dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.2.ebuild X-VCS-Directories: dev-cpp/rapidfuzz-cpp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2d285abb40964be2dae54f38ef401edc176975f4 X-VCS-Branch: master Date: Mon, 12 Dec 2022 14:34:43 +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: ac02af1d-bfa6-45b0-8631-548ad6c6a2eb X-Archives-Hash: 48116dd9a1932c8453e3218c64642612 commit: 2d285abb40964be2dae54f38ef401edc176975f4 Author: Michał Górny gentoo org> AuthorDate: Mon Dec 12 14:29:33 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Dec 12 14:29:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d285abb dev-cpp/rapidfuzz-cpp: Bump to 1.10.2 Signed-off-by: Michał Górny gentoo.org> dev-cpp/rapidfuzz-cpp/Manifest | 1 + dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.2.ebuild | 42 +++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-cpp/rapidfuzz-cpp/Manifest b/dev-cpp/rapidfuzz-cpp/Manifest index 484fbef27159..6133fa10ff6e 100644 --- a/dev-cpp/rapidfuzz-cpp/Manifest +++ b/dev-cpp/rapidfuzz-cpp/Manifest @@ -1,3 +1,4 @@ DIST rapidfuzz-cpp-1.10.0.gh.tar.gz 283171 BLAKE2B d126134f3250b5c5320d5776bb913b6458f5bcc61629c1ffd5957b3ddf79e5ff1ccc1c67a9c33271942e7f59846c73d2fdc672a99141964dae716c4ac8057193 SHA512 5d9b184e2b7975b0ba3f29e2698b80906afffa7c561f8b7c49988f99c92ff480bf0a471cb48f7e8024f3e048fb2b01ebbbf1bc28afacee78890f6a595cf10517 DIST rapidfuzz-cpp-1.10.1.gh.tar.gz 284749 BLAKE2B 530476df0120e0a864298f80d786df02e0bc77a9b3482b2be7ff94ed4c4c749828eddadcaae2e8958e991744842380c48e2ce1bfa59062dc592b6a8905dbc234 SHA512 9e33601b85189bca8ff1ff21e33f62fb674d6f6ce5713588f303b5879b02eba84e96421fea3c96cfc6a7393ad5a95c755176d7c17e7f4c81498516f163584bf6 +DIST rapidfuzz-cpp-1.10.2.gh.tar.gz 284978 BLAKE2B 5d2ef555ce2af009d4bb2fbf3e649e6cfc43ab3b20497d8e00c3f99d23173faf3425be4fcaec78820c969a336bb4255e6f680482aba657e838ecc4194e92db01 SHA512 65198df529005264ef94cb308eb09d6569ea805f46fbd42e6fedd18ac949722ff10ed30fbc41aaa986d790566168ff46c2b03ec5f7b6041b2f3e522e534f2ee2 DIST rapidfuzz-cpp-1.9.0.gh.tar.gz 281385 BLAKE2B 4afc48edd9c8270200645eb77065bf212b9579b90b3916e261bbe69fd60f67c1e510c3ae4ef9877a26c3313063717b362e01c6cf799a0f9fc3429799d9b2dca6 SHA512 d95c90f9118811d650d859a20f847c71427acbc8c4f907f49d23b069cd6d1a848749d32f8fbff7326828b7a030c3f488acacba5845a72a0057ccf4c3088badf4 diff --git a/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.2.ebuild b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.2.ebuild new file mode 100644 index 000000000000..3e5e9ce8ba7e --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Rapid fuzzy string matching in C++" +HOMEPAGE="https://github.com/maxbachmann/rapidfuzz-cpp/" +SRC_URI=" + https://github.com/maxbachmann/rapidfuzz-cpp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + >=dev-cpp/catch-3 + ) +" + +src_prepare() { + # apparently "C++ best practices" don't mind fetching random stuff + # at build time + sed -i -e '/aminya/,/^)/d' test/CMakeLists.txt || die + find -name 'CMakeLists.txt' -exec \ + sed -i -e 's:project_warnings::' {} + || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DRAPIDFUZZ_BUILD_TESTING=$(usex test) + ) + cmake_src_configure +}