aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchausner <15180557+chausner@users.noreply.github.com>2021-10-06 01:11:01 +0200
committerGitHub <noreply@github.com>2021-10-05 16:11:01 -0700
commit14644061a8076851c128fe41d7ade6fcbdeacba3 (patch)
tree532881ff1f11236c52e818ea96f4ba698e5cf09c
parentd9333c2143d12c291404b04a67240f2490b4b50c (diff)
downloadvcpkg-14644061a8076851c128fe41d7ade6fcbdeacba3.tar.gz
vcpkg-14644061a8076851c128fe41d7ade6fcbdeacba3.zip
[span-lite] Update to 0.10.3 (#20499)
* Update span-lite to 0.10.3 * Update CI baseline Co-authored-by: chausner <chausner@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
-rw-r--r--ports/span-lite/portfile.cmake21
-rw-r--r--ports/span-lite/vcpkg.json14
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/s-/span-lite.json5
4 files changed, 28 insertions, 14 deletions
diff --git a/ports/span-lite/portfile.cmake b/ports/span-lite/portfile.cmake
index fd34b69ca..fcf8b9210 100644
--- a/ports/span-lite/portfile.cmake
+++ b/ports/span-lite/portfile.cmake
@@ -1,29 +1,28 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinmoene/span-lite
- REF v0.9.0
- SHA512 e7d8a5f2e85b4aa7dc148c5a17898729bafa6124affacf66280eaa74c6aad5a4c9a9231e664f95392aa4edb784eaf3e2e3e03d34914c90565b9026744d7f7276
+ REF v0.10.3
+ SHA512 001259FEC3F043391D8C00D858841823F7F88B56884AE73FA0D08F71CD35FAC636DDCC323FE5AAA7E680BDE6092E693F810DA821E8E3ADE29C6D73ED46DB3609
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DSPAN_LITE_OPT_BUILD_TESTS=OFF
-DSPAN_LITE_OPT_BUILD_EXAMPLES=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets(
- CONFIG_PATH lib/cmake/${PORT}
+vcpkg_cmake_config_fixup(
+ CONFIG_PATH "lib/cmake/${PORT}"
)
file(REMOVE_RECURSE
- ${CURRENT_PACKAGES_DIR}/debug
- ${CURRENT_PACKAGES_DIR}/lib
+ "${CURRENT_PACKAGES_DIR}/debug"
+ "${CURRENT_PACKAGES_DIR}/lib"
)
file(INSTALL
- ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
+ "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright
)
diff --git a/ports/span-lite/vcpkg.json b/ports/span-lite/vcpkg.json
index 1227b0a5d..43526240e 100644
--- a/ports/span-lite/vcpkg.json
+++ b/ports/span-lite/vcpkg.json
@@ -1,6 +1,16 @@
{
"name": "span-lite",
- "version-string": "0.9.0",
+ "version": "0.10.3",
"description": "A C++20-like span for C++98, C++11 and later in a single-file header-only library",
- "homepage": "https://github.com/martinmoene/span-lite"
+ "homepage": "https://github.com/martinmoene/span-lite",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
}
diff --git a/versions/baseline.json b/versions/baseline.json
index 318bbac4d..8efa2f8b0 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6269,7 +6269,7 @@
"port-version": 5
},
"span-lite": {
- "baseline": "0.9.0",
+ "baseline": "0.10.3",
"port-version": 0
},
"sparsehash": {
diff --git a/versions/s-/span-lite.json b/versions/s-/span-lite.json
index 1de3d322b..0a15f28bd 100644
--- a/versions/s-/span-lite.json
+++ b/versions/s-/span-lite.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "9fdf6960d9eab8dfdd0a03ef8e7d3db09a50defb",
+ "version": "0.10.3",
+ "port-version": 0
+ },
+ {
"git-tree": "3a97b03dacd5b7fdcec06275cf87a4df933d58a0",
"version-string": "0.9.0",
"port-version": 0