summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-04-06 16:49:22 +0200
committerMichał Górny <mgorny@gentoo.org>2024-04-06 16:49:22 +0200
commit3ad251c15a290c6874b5c9441af857ab5b23c50c (patch)
treee6a05dabcea21e094b9b96e50b42295999184a82 /dev-cpp
parentdev-python/pulsectl: Bump to 24.4.0 (diff)
downloadgentoo-3ad251c15a290c6874b5c9441af857ab5b23c50c.tar.gz
gentoo-3ad251c15a290c6874b5c9441af857ab5b23c50c.tar.bz2
gentoo-3ad251c15a290c6874b5c9441af857ab5b23c50c.zip
dev-cpp/rapidfuzz-cpp: Bump to 3.0.3
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.3.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-cpp/rapidfuzz-cpp/Manifest b/dev-cpp/rapidfuzz-cpp/Manifest
index 1a941508ab0b..a87a5010f769 100644
--- a/dev-cpp/rapidfuzz-cpp/Manifest
+++ b/dev-cpp/rapidfuzz-cpp/Manifest
@@ -1 +1,2 @@
DIST rapidfuzz-cpp-3.0.2.gh.tar.gz 301823 BLAKE2B 49743ab1634649bf5a2b33d91dce1877b0c3135345d9c187eb2d633a1bb804701697d8245a74cfde2a76564abeb3fc8228dce121dcc1a05f74630400d06bb659 SHA512 76c1c5cc193c023c3994404c634bfb071eb45e737fcf81a74f1fa6c345a4daf69202d96bb31041b5393f344c176709f466df46eeb0ee0c4c329e70a58b7cab9d
+DIST rapidfuzz-cpp-3.0.3.gh.tar.gz 301872 BLAKE2B 3e02fef2deceed35a6993dabb0b6c8c08c5883854a80876bdc984d0777451e1090e19633f8bf4d5db1c81a301365bf6ffacc8458c46fd0ce99959968f5325347 SHA512 1d7044867096ab3e0eb23d1a0b1da337660be207a3d1310f575283658b35037f2a271b60154d99c516d7d31a5af607894a86306aa733dcafafb3a728a2ba7dd5
diff --git a/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.3.ebuild b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.3.ebuild
new file mode 100644
index 000000000000..d6330403376e
--- /dev/null
+++ b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2024 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/rapidfuzz/rapidfuzz-cpp/"
+SRC_URI="
+ https://github.com/rapidfuzz/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
+}