summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-26 11:44:13 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-26 11:46:04 +0100
commit68449bce69264fdbfea3e5966ace256ea0cfa317 (patch)
treefb6496ec2e88ecf8072abff50598102a32aab0f7 /dev-cpp
parentdev-python/tavern: Bump to 2.7.1 (diff)
downloadgentoo-68449bce69264fdbfea3e5966ace256ea0cfa317.tar.gz
gentoo-68449bce69264fdbfea3e5966ace256ea0cfa317.tar.bz2
gentoo-68449bce69264fdbfea3e5966ace256ea0cfa317.zip
dev-cpp/rapidfuzz-cpp: Bump to 3.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/rapidfuzz-cpp/Manifest1
-rw-r--r--dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-cpp/rapidfuzz-cpp/Manifest b/dev-cpp/rapidfuzz-cpp/Manifest
index 2ec866789d53..54587e0656bd 100644
--- a/dev-cpp/rapidfuzz-cpp/Manifest
+++ b/dev-cpp/rapidfuzz-cpp/Manifest
@@ -1 +1,2 @@
DIST rapidfuzz-cpp-2.2.3.gh.tar.gz 299404 BLAKE2B e45cf997cb6454aae781cb67663bcc12a0b507efd88b9293a4ec3424fb67ff713983e77041808488abad3d710a5a81aa45295f838908a8fdbad1f980a8eeb00f SHA512 5ef4833334ccc3309d43ae4a2644eb57fa2a382b797c791b150b8d78451d7e6d57a8af23d0b7645eecfe539a128d2d8585e2a7380b6772b23cf8fd71d6a7f38b
+DIST rapidfuzz-cpp-3.0.0.gh.tar.gz 301220 BLAKE2B c5fb0c088a18d86afcea71ef32711951da9c1b3f4d0d75e74f0d3ca84711c52dac2fe3d2f7790722fb7f88378e4c0d04dabbc4f9e1a656314ec61bd5b9bbc7df SHA512 c5f20399bd1cfaa057c40cc17be5d730d50c1014553241f80f461a2fa89de670357d17a4f090394170263b09a53aa29238e5eff2caf9064a2a118c42aa14f320
diff --git a/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.0.ebuild b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.0.ebuild
new file mode 100644
index 000000000000..1cf4910aa2c4
--- /dev/null
+++ b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2023 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ >=dev-cpp/catch-3
+ )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DRAPIDFUZZ_BUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}