git: cc577b86e857 - main - devel/rapidfuzz-cpp: New port: Rapid fuzzy string matching in C++ using the levenshtein distance
Yuri Victorovich
yuri at FreeBSD.org
Sat Aug 21 08:17:50 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cc577b86e8577883feafd4d7da6d3542f54d45bf
commit cc577b86e8577883feafd4d7da6d3542f54d45bf
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-08-21 07:16:08 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
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 at 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 <bsd.port.mk>
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
More information about the dev-commits-ports-all
mailing list