summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-03 07:16:48 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-03 08:48:16 +0200
commit79d16cf81311e3f589a6a8ebc057f0c1647f5212 (patch)
treedc96626af5a530849570943354a6c295c4ee4f71 /dev-cpp
parentapp-admin/awscli: Bump to 1.27.146 (diff)
downloadgentoo-79d16cf81311e3f589a6a8ebc057f0c1647f5212.tar.gz
gentoo-79d16cf81311e3f589a6a8ebc057f0c1647f5212.tar.bz2
gentoo-79d16cf81311e3f589a6a8ebc057f0c1647f5212.zip
dev-cpp/rapidfuzz-cpp: Bump to 2.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-2.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 c2f4ac2414fb..4bfb1452fe76 100644
--- a/dev-cpp/rapidfuzz-cpp/Manifest
+++ b/dev-cpp/rapidfuzz-cpp/Manifest
@@ -1 +1,2 @@
DIST rapidfuzz-cpp-1.11.3.gh.tar.gz 285399 BLAKE2B cc2aeda5e519481d718917738a62fb6747514f4fd4cf2d5a9399c4d3b0192e37f4d8e0ec3578bc84cfaba99f8644f13d1fa8af93629615c20f2d28e4507a4d4f SHA512 a27c26021e49b3b8aa0cf73947ce5696b00e32c94fedb00d8d97b4dcb76ebbf107df1813dc479a9bd26942c09577d0bb84b3aea3398f7d750ecd68de4486996c
+DIST rapidfuzz-cpp-2.0.0.gh.tar.gz 287804 BLAKE2B f49e5681c41da985c71b61f7deb3f50ec778c15c9ccbc0484107b7508adf22c24b707c7f6a309ff307312e3e862ff7b8e0672c528201708a4ed5f3361dd76935 SHA512 02af141b123545303d634ffe84fbe83e635f06c9ffa3a6506661e53beb22fe7221942b3e46d33b2a49ef929c5de9acfb00c48cb5685c760506c5fcf37c716f9a
diff --git a/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-2.0.0.ebuild b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-2.0.0.ebuild
new file mode 100644
index 000000000000..315024591a2e
--- /dev/null
+++ b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-2.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 ~ia64 ~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
+}