[rapidfuzz-cpp] Renamed from rapidfuzz (#49378)

This commit is contained in:
SunBlack
2026-01-13 06:39:46 +01:00
committed by GitHub
parent 033d97f18a
commit e3db676dc0
7 changed files with 59 additions and 27 deletions

View File

@@ -0,0 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO maxbachmann/rapidfuzz-cpp
REF "v${VERSION}"
SHA512 51d3e38ca0ec2592ee5562208180bc11d6e4b4663405d3541768c060e6fef72cb35338a53c03e7411601123e42480b35749fb59530f52dfa99b5ed18d21aa5ec
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
PACKAGE_NAME rapidfuzz
CONFIG_PATH lib/cmake/rapidfuzz
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@@ -0,0 +1,17 @@
{
"name": "rapidfuzz-cpp",
"version": "3.3.3",
"description": "Rapid fuzzy string matching library for C++ using the Levenshtein Distance.",
"homepage": "https://github.com/maxbachmann/rapidfuzz-cpp",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@@ -1,18 +1 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO maxbachmann/rapidfuzz-cpp
REF "v${VERSION}"
SHA512 51d3e38ca0ec2592ee5562208180bc11d6e4b4663405d3541768c060e6fef72cb35338a53c03e7411601123e42480b35749fb59530f52dfa99b5ed18d21aa5ec
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

View File

@@ -1,17 +1,10 @@
{
"name": "rapidfuzz",
"version": "3.3.3",
"version-string": "deprecated",
"description": "Rapid fuzzy string matching library for C++ using the Levenshtein Distance.",
"homepage": "https://github.com/maxbachmann/rapidfuzz-cpp",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
"rapidfuzz-cpp"
]
}

View File

@@ -8405,6 +8405,10 @@
"port-version": 0
},
"rapidfuzz": {
"baseline": "deprecated",
"port-version": 0
},
"rapidfuzz-cpp": {
"baseline": "3.3.3",
"port-version": 0
},

View File

@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "114d779da3cba2c67a438f8715d7188502080c1e",
"version": "3.3.3",
"port-version": 0
}
]
}

View File

@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "66ec151d624bc1139fabb9d47d17a259df22d1d5",
"version-string": "deprecated",
"port-version": 0
},
{
"git-tree": "73c7d30319b51bf541018870a77e7ca5a1c183bd",
"version": "3.3.3",