From 6003fc7a6eda56862fcff321f47e40cd34e60098 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 6 Nov 2022 09:19:37 +0000 Subject: gentoo auto-resync : 06:11:2022 - 09:19:37 --- dev-cpp/Manifest.gz | Bin 12932 -> 12927 bytes dev-cpp/rapidfuzz-cpp/Manifest | 2 ++ dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.1.ebuild | 42 ++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.1.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz index 984bbfc78f98..e165908a8920 100644 Binary files a/dev-cpp/Manifest.gz and b/dev-cpp/Manifest.gz differ diff --git a/dev-cpp/rapidfuzz-cpp/Manifest b/dev-cpp/rapidfuzz-cpp/Manifest index aaa27edff7c1..a25b4950a214 100644 --- a/dev-cpp/rapidfuzz-cpp/Manifest +++ b/dev-cpp/rapidfuzz-cpp/Manifest @@ -1,5 +1,7 @@ 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.9.0.gh.tar.gz 281385 BLAKE2B 4afc48edd9c8270200645eb77065bf212b9579b90b3916e261bbe69fd60f67c1e510c3ae4ef9877a26c3313063717b362e01c6cf799a0f9fc3429799d9b2dca6 SHA512 d95c90f9118811d650d859a20f847c71427acbc8c4f907f49d23b069cd6d1a848749d32f8fbff7326828b7a030c3f488acacba5845a72a0057ccf4c3088badf4 EBUILD rapidfuzz-cpp-1.10.0.ebuild 837 BLAKE2B e799436fa0a6d40a84c78765a614402394f2135693c2e251003190d908452d93267207708ddff21b4b72a400593715b28eac0f88e2799f68d71005c5e41072da SHA512 19bec3a050d32f7d8b6e27382b3a23372839d179eaeae634a9e8a1ad1ed56a6c4c0161fafe87182410f650482ef023731de5c68e92f1b5e5973cd13758dfedad +EBUILD rapidfuzz-cpp-1.10.1.ebuild 837 BLAKE2B e799436fa0a6d40a84c78765a614402394f2135693c2e251003190d908452d93267207708ddff21b4b72a400593715b28eac0f88e2799f68d71005c5e41072da SHA512 19bec3a050d32f7d8b6e27382b3a23372839d179eaeae634a9e8a1ad1ed56a6c4c0161fafe87182410f650482ef023731de5c68e92f1b5e5973cd13758dfedad EBUILD rapidfuzz-cpp-1.9.0.ebuild 837 BLAKE2B e799436fa0a6d40a84c78765a614402394f2135693c2e251003190d908452d93267207708ddff21b4b72a400593715b28eac0f88e2799f68d71005c5e41072da SHA512 19bec3a050d32f7d8b6e27382b3a23372839d179eaeae634a9e8a1ad1ed56a6c4c0161fafe87182410f650482ef023731de5c68e92f1b5e5973cd13758dfedad MISC metadata.xml 338 BLAKE2B 43c0cb99a03961ca48146b237a22fbf56c90312b7a39b57a3d01dd532f4f01891e713c802b372b4efb0af528198d8f2c0febae6ffec65da152e8e23f7a67b8a4 SHA512 a54d78c951d15319a2e467dc5d5692d9af5ef9e79c9c9135ee5e26853361ec6bcfebab8e82e3299314f9b7c8cd703365ff6d144e7e6876f486ca5f3a02a3b0f7 diff --git a/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.1.ebuild b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.1.ebuild new file mode 100644 index 000000000000..32f8979b752f --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.10.1.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 ~riscv" +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 +} -- cgit v1.2.3