summaryrefslogtreecommitdiff
path: root/dev-cpp/rapidfuzz-cpp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-03 09:30:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-03 09:30:56 +0100
commit9f322d80b846d0000268f94422b74c28979e4adf (patch)
tree7d0526672ae719056f1d302b68cde18c11fc3ab3 /dev-cpp/rapidfuzz-cpp
parenteaef2dddc42323859c2525b466b380620534c051 (diff)
gentoo auto-resync : 03:06:2023 - 09:30:55
Diffstat (limited to 'dev-cpp/rapidfuzz-cpp')
-rw-r--r--dev-cpp/rapidfuzz-cpp/Manifest2
-rw-r--r--dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-2.0.0.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/rapidfuzz-cpp/Manifest b/dev-cpp/rapidfuzz-cpp/Manifest
index 68346102f576..637ad994126a 100644
--- a/dev-cpp/rapidfuzz-cpp/Manifest
+++ b/dev-cpp/rapidfuzz-cpp/Manifest
@@ -1,3 +1,5 @@
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
EBUILD rapidfuzz-cpp-1.11.3.ebuild 628 BLAKE2B a993450d45d526bb6aa07da65c5e94c1190957fae52697814e080e5598033b911e31a7eb9cea0f4e78a4b67600081f6f2a520fa51b93bb54600b891d096ad899 SHA512 3c58dad5b361e8dce1e79eafbe6906f14d71a35fc9b5ca3f823aba70cae1c204bb0390acc15ea6b56db681e950feca340b754ab3cc83f59d3c129f8850647816
+EBUILD rapidfuzz-cpp-2.0.0.ebuild 635 BLAKE2B 3d3607829170ab7378c2dcd07c03fc627a7ef70e37f08a8c1422582d28595f0af4c1bd1dc6f2541f2c0b3a08404b9ed38d7409049b7ea4bb6831010113792774 SHA512 c04bcc0b71201c8f863539a1be779c950e08eebc297281206763c9d012e985c10bb2d5173252202e3fdb63277f26d6bbb754ac4c7b961cb1689151952ed8c406
MISC metadata.xml 338 BLAKE2B 43c0cb99a03961ca48146b237a22fbf56c90312b7a39b57a3d01dd532f4f01891e713c802b372b4efb0af528198d8f2c0febae6ffec65da152e8e23f7a67b8a4 SHA512 a54d78c951d15319a2e467dc5d5692d9af5ef9e79c9c9135ee5e26853361ec6bcfebab8e82e3299314f9b7c8cd703365ff6d144e7e6876f486ca5f3a02a3b0f7
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
+}