Skip to content

Commit

Permalink
[doctest] Update to 2.4.9 (microsoft#25313)
Browse files Browse the repository at this point in the history
* Update doctest to 2.4.9

* Use ${PORT} instead of raw port name in doctest portfile

* Switch from onqtam/doctest to doctest/doctest
  • Loading branch information
Tradias authored Jun 20, 2022
1 parent 01ff40a commit c99fe71
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 12 deletions.
19 changes: 10 additions & 9 deletions ports/doctest/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO onqtam/doctest
REF v2.4.8
SHA512 f9b40abfd756331f9b667f3c1e7dcf2652effacac70523834dd3946522f01459c095bdbad04651ad2ad155977e1395025f868ed4dcf5d5712aae9807afb5699c
REPO doctest/doctest
REF v2.4.9
SHA512 c7337e2de371c18973a0f4cb76458d6ae387e78874c9bc8aa367ffd2d592514b774e7c5ebf44f83b7046f6b33c6905fd079c36f4c33eadf52b3d651d978182cb
HEAD_REF master
)

vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DDOCTEST_WITH_TESTS=OFF
)

vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/doctest)
vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
15 changes: 13 additions & 2 deletions ports/doctest/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
{
"name": "doctest",
"version": "2.4.8",
"version": "2.4.9",
"description": "The fastest feature-rich C++11/14/17/20 single-header testing framework",
"homepage": "https://github.com/onqtam/doctest"
"homepage": "https://github.com/doctest/doctest",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@
"port-version": 1
},
"doctest": {
"baseline": "2.4.8",
"baseline": "2.4.9",
"port-version": 0
},
"double-conversion": {
Expand Down
5 changes: 5 additions & 0 deletions versions/d-/doctest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6f1ded501cbcf08445218ca0c5bee9df28188df9",
"version": "2.4.9",
"port-version": 0
},
{
"git-tree": "74d6364092a4086dd36a0d54a3d16e3cc24fe478",
"version": "2.4.8",
Expand Down

0 comments on commit c99fe71

Please sign in to comment.