From e3d7627fa8d82fda3f14df2b76c17843b8270084 Mon Sep 17 00:00:00 2001 From: Yingfan Guo <115908952+sentomk@users.noreply.github.com> Date: Thu, 19 Mar 2026 14:05:39 +0800 Subject: [PATCH] [patternia] update to 0.9.1 (#50537) --- ports/patternia/portfile.cmake | 56 +++++++++++++++++----------------- ports/patternia/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/p-/patternia.json | 5 +++ 4 files changed, 35 insertions(+), 30 deletions(-) diff --git a/ports/patternia/portfile.cmake b/ports/patternia/portfile.cmake index 62ac928c4b..b6e5eff13d 100644 --- a/ports/patternia/portfile.cmake +++ b/ports/patternia/portfile.cmake @@ -1,28 +1,28 @@ -set(VCPKG_BUILD_TYPE release) - -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO SentoMK/patternia - REF "v${VERSION}" - SHA512 2b207cdf92f36a8bf07ea0478c806406c3d35eb3b94142bfc93605b6260eb9652011e82f8ecfddbb3c45612c6ed42ae1250d48b96e5a1a17c1705c690769f776 - HEAD_REF main -) - -vcpkg_cmake_configure( - SOURCE_PATH "${SOURCE_PATH}" - OPTIONS - -DPTN_BUILD_TESTS=OFF - -DPTN_BUILD_BENCHMARKS=OFF - -DPTN_BUILD_SAMPLES=OFF - -DPTN_DEV_INDEX=OFF - -DPTN_INSTALL=ON -) - -vcpkg_cmake_install() - -vcpkg_cmake_config_fixup(PACKAGE_NAME patternia CONFIG_PATH lib/cmake/patternia) - -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") - -vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") +set(VCPKG_BUILD_TYPE release) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO SentoMK/patternia + REF "v${VERSION}" + SHA512 482f20b7664ff4cb3931e95c57e582f615063e092c734b6d02c32a97f56250dd8fd41611f2773c6d2c8d10fd924fb9700dcbdbeaa222f98ba2e35638733ed736 + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DPTN_BUILD_TESTS=OFF + -DPTN_BUILD_BENCHMARKS=OFF + -DPTN_BUILD_SAMPLES=OFF + -DPTN_DEV_INDEX=OFF + -DPTN_INSTALL=ON +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(PACKAGE_NAME patternia CONFIG_PATH lib/cmake/patternia) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/patternia/vcpkg.json b/ports/patternia/vcpkg.json index 7ee250c26f..52a1d4b56d 100644 --- a/ports/patternia/vcpkg.json +++ b/ports/patternia/vcpkg.json @@ -1,6 +1,6 @@ { "name": "patternia", - "version": "0.9.0", + "version": "0.9.1", "description": "Header-only pattern matching library for modern C++", "homepage": "https://github.com/SentoMK/patternia", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 1eb4223a22..dd98aa071d 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7513,7 +7513,7 @@ "port-version": 0 }, "patternia": { - "baseline": "0.9.0", + "baseline": "0.9.1", "port-version": 0 }, "pbc": { diff --git a/versions/p-/patternia.json b/versions/p-/patternia.json index 0b44eba812..8d029e05a3 100644 --- a/versions/p-/patternia.json +++ b/versions/p-/patternia.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ad7099f001b6c8aad3d05e16aeff576325059478", + "version": "0.9.1", + "port-version": 0 + }, { "git-tree": "3a684ffe01995de3002b53600c9b7246193c6b72", "version": "0.9.0",