Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[expected-lite] Update port to 0.5.0 #20455

Merged
merged 10 commits into from
Oct 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions ports/expected-lite/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinmoene/expected-lite
REF v0.3.0
SHA512 b24b58ff7bd6d5f355935854b6b5e67c7e9b2f1b6383ecdd2a1655833f414fd1189a07000b40c45a6df8a8641602c5eca19eb5e8639ac6cfe59e3d94bc102ab3
REF v0.5.0
SHA512 6dd8974d518db0c79fe7bd0e407a85436c6ad222f8e5ed84efb34925d9a665b5b83ff08529b3e985034ed9a9201c80575f6a956132408ef6577c9c47cac55eae
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DEXPECTED_LITE_OPT_BUILD_TESTS=OFF
-DEXPECTED_LITE_OPT_BUILD_EXAMPLES=OFF
)

vcpkg_install_cmake()
vcpkg_cmake_install()

vcpkg_fixup_cmake_targets(
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
)
16 changes: 13 additions & 3 deletions ports/expected-lite/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{
"name": "expected-lite",
"version-string": "0.3.0",
"port-version": 1,
"description": "Expected objects in C++11 and later in a single-file header-only library"
"version": "0.5.0",
"description": "Expected objects in C++11 and later in a single-file header-only library",
"homepage": "https://github.com/martinmoene/expected-lite",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2017,8 +2017,8 @@
"port-version": 0
},
"expected-lite": {
"baseline": "0.3.0",
"port-version": 1
"baseline": "0.5.0",
"port-version": 0
},
"exprtk": {
"baseline": "2021-01-01",
Expand Down
5 changes: 5 additions & 0 deletions versions/e-/expected-lite.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a1e36e579144b5ebf1231aac06fbfc89c300351f",
"version": "0.5.0",
"port-version": 0
},
{
"git-tree": "877f85638b2a3f618c48729a2e39149effbcb851",
"version-string": "0.3.0",
Expand Down