From owner-dev-commits-ports-all@freebsd.org Sat Aug 21 08:17:49 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED0B066ED86; Sat, 21 Aug 2021 08:17:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GsBFn4lHBz4sBN; Sat, 21 Aug 2021 08:17:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8B21C1843; Sat, 21 Aug 2021 08:17:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17L8HnfS034168; Sat, 21 Aug 2021 08:17:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17L8Hnmf034167; Sat, 21 Aug 2021 08:17:49 GMT (envelope-from git) Date: Sat, 21 Aug 2021 08:17:49 GMT Message-Id: <202108210817.17L8Hnmf034167@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: cc577b86e857 - main - devel/rapidfuzz-cpp: New port: Rapid fuzzy string matching in C++ using the levenshtein distance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc577b86e8577883feafd4d7da6d3542f54d45bf Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2021 08:17:50 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=cc577b86e8577883feafd4d7da6d3542f54d45bf commit cc577b86e8577883feafd4d7da6d3542f54d45bf Author: Yuri Victorovich AuthorDate: 2021-08-21 07:16:08 +0000 Commit: Yuri Victorovich CommitDate: 2021-08-21 08:17:44 +0000 devel/rapidfuzz-cpp: New port: Rapid fuzzy string matching in C++ using the levenshtein distance --- devel/Makefile | 1 + devel/rapidfuzz-cpp/Makefile | 23 +++++++++++++++++++++++ devel/rapidfuzz-cpp/distinfo | 3 +++ devel/rapidfuzz-cpp/pkg-descr | 4 ++++ devel/rapidfuzz-cpp/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 68 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 234f938ef782..ea5629ee1173 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5461,6 +5461,7 @@ SUBDIR += rang SUBDIR += range-v3 SUBDIR += rapidcheck + SUBDIR += rapidfuzz-cpp SUBDIR += rapidjson SUBDIR += raylib SUBDIR += rbenv diff --git a/devel/rapidfuzz-cpp/Makefile b/devel/rapidfuzz-cpp/Makefile new file mode 100644 index 000000000000..7eba23bbf53e --- /dev/null +++ b/devel/rapidfuzz-cpp/Makefile @@ -0,0 +1,23 @@ +PORTNAME= rapidfuzz-cpp +PORTVERSION= g20210820 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Rapid fuzzy string matching in C++ using the levenshtein distance + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= catch>0:devel/catch + +USES= cmake:testing compiler:c++11-lib + +CMAKE_TESTING_ON= BUILD_TESTS # tests care broken because they expect yet unreleased catch-3.0.0 which is currently a preview version. + +USE_GITHUB= yes +GH_ACCOUNT= maxbachmann +GH_TAGNAME= 47df6f7 + +NO_ARCH= yes + +.include diff --git a/devel/rapidfuzz-cpp/distinfo b/devel/rapidfuzz-cpp/distinfo new file mode 100644 index 000000000000..7ad69c41ec7d --- /dev/null +++ b/devel/rapidfuzz-cpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1629529470 +SHA256 (maxbachmann-rapidfuzz-cpp-g20210820-47df6f7_GH0.tar.gz) = 6eb5d30f7cc79d8d26ac0c2b6c6d9785e6ec9e136761925d0593060a9dea3b40 +SIZE (maxbachmann-rapidfuzz-cpp-g20210820-47df6f7_GH0.tar.gz) = 100013 diff --git a/devel/rapidfuzz-cpp/pkg-descr b/devel/rapidfuzz-cpp/pkg-descr new file mode 100644 index 000000000000..ea56481ac180 --- /dev/null +++ b/devel/rapidfuzz-cpp/pkg-descr @@ -0,0 +1,4 @@ +RapidFuzz is a fast string matching library for Python and C++, which is using +the string similarity calculations from FuzzyWuzzy. + +WWW: https://github.com/maxbachmann/rapidfuzz-cpp diff --git a/devel/rapidfuzz-cpp/pkg-plist b/devel/rapidfuzz-cpp/pkg-plist new file mode 100644 index 000000000000..b1955c3240a9 --- /dev/null +++ b/devel/rapidfuzz-cpp/pkg-plist @@ -0,0 +1,37 @@ +include/SplittedSentenceView.hpp +include/common.hpp +include/common_impl.hpp +include/fuzz.hpp +include/fuzz_impl.hpp +include/generic_levenshtein_impl.hpp +include/levenshtein_impl.hpp +include/matching_blocks.hpp +include/rapidfuzz/details/SplittedSentenceView.hpp +include/rapidfuzz/details/common.hpp +include/rapidfuzz/details/common_impl.hpp +include/rapidfuzz/details/matching_blocks.hpp +include/rapidfuzz/details/string_metrics/generic_levenshtein_impl.hpp +include/rapidfuzz/details/string_metrics/jaro_impl.hpp +include/rapidfuzz/details/string_metrics/levenshtein_editops_impl.hpp +include/rapidfuzz/details/string_metrics/levenshtein_impl.hpp +include/rapidfuzz/details/string_metrics/weighted_levenshtein_impl.hpp +include/rapidfuzz/details/string_view.hpp +include/rapidfuzz/details/type_traits.hpp +include/rapidfuzz/details/types.hpp +include/rapidfuzz/details/unicode.cpp +include/rapidfuzz/details/unicode.hpp +include/rapidfuzz/details/unicodetype_db.h +include/rapidfuzz/fuzz.hpp +include/rapidfuzz/fuzz_impl.hpp +include/rapidfuzz/rapidfuzz_all.hpp +include/rapidfuzz/string_metric.hpp +include/rapidfuzz/utils.hpp +include/rapidfuzz/utils_impl.hpp +include/string_metric.hpp +include/string_view.hpp +include/type_traits.hpp +include/types.hpp +include/unicode.hpp +include/utils.hpp +include/utils_impl.hpp +include/weighted_levenshtein_impl.hpp