[expected-lite] Update port to 0.5.0 (#20455)

* update to 0.5.0

* fixup deprecated functions

* quote paths

* use semver

* add homepage

* update versioning

* add HEAD_REF

* update versioning

* use `version` instead

* update versioning
This commit is contained in:
Ryan 2021-10-04 17:15:24 -07:00 коммит произвёл GitHub
Родитель 83261448a0
Коммит c264dba458
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 30 добавлений и 15 удалений

Просмотреть файл

@ -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
)

Просмотреть файл

@ -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
}
]
}

Просмотреть файл

@ -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",

Просмотреть файл

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a1e36e579144b5ebf1231aac06fbfc89c300351f",
"version": "0.5.0",
"port-version": 0
},
{
"git-tree": "877f85638b2a3f618c48729a2e39149effbcb851",
"version-string": "0.3.0",