Skip to content

Commit

Permalink
[docopt] Update to latest version. (microsoft#37046)
Browse files Browse the repository at this point in the history
- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [X] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [X] Any patches that are no longer applied are deleted from the port's
directory.
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.
  • Loading branch information
teo-tsirpanis authored Mar 1, 2024
1 parent 60a7a4e commit ba2298b
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 78 deletions.
28 changes: 0 additions & 28 deletions ports/docopt/001-fix-unresolved-symbol.patch

This file was deleted.

16 changes: 0 additions & 16 deletions ports/docopt/002-fix-install-path.patch

This file was deleted.

21 changes: 0 additions & 21 deletions ports/docopt/install-one-flavor.patch

This file was deleted.

13 changes: 4 additions & 9 deletions ports/docopt/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO docopt/docopt.cpp
REF 7476f8e56b4650aaeafb4e1cda2e5d8f01fddd97
SHA512 6765e8a3a834ad75bd87effee5ac7e174482039d26015346b95d7d64e4e0097cc3f1f2e6fd9e3e5970bf4c5719095c0a3e5edfac18217913dc88fbe569d37ae8
REF 400e6dd8e59196c914dcc2c56caf7dae7efa5eb3
SHA512 a9ef466ba40127f636bc20beb7508c4da2dc32c0c37acb5729644f31d4910d9c0253f311457f39ed57605775e72f3370aff4e5ef88e60a49d190bc4760c40ea3
HEAD_REF master
PATCHES
001-fix-unresolved-symbol.patch
002-fix-install-path.patch
install-one-flavor.patch
)

vcpkg_cmake_configure(
Expand All @@ -21,6 +17,7 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/docopt)
vcpkg_fixup_pkgconfig()

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

Expand All @@ -36,8 +33,6 @@ file(COPY
DESTINATION "${CURRENT_PACKAGES_DIR}/include/docopt")

# Handle copyright
file(INSTALL
"${SOURCE_PATH}/LICENSE-MIT"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/docopt" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-MIT" "${SOURCE_PATH}/LICENSE-Boost-1.0")

vcpkg_copy_pdbs()
4 changes: 2 additions & 2 deletions ports/docopt/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "docopt",
"version-date": "2018-11-01",
"port-version": 3,
"version-date": "2022-03-15",
"description": "Command line arguments parser that will make you smile (C++11 port).",
"license": "MIT OR BSL-1.0",
"dependencies": [
{
"name": "vcpkg-cmake",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2277,8 +2277,8 @@
"port-version": 0
},
"docopt": {
"baseline": "2018-11-01",
"port-version": 3
"baseline": "2022-03-15",
"port-version": 0
},
"doctest": {
"baseline": "2.4.11",
Expand Down
5 changes: 5 additions & 0 deletions versions/d-/docopt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "98cead1c88cad77bef9acf4571d6bd8a2a06cf3a",
"version-date": "2022-03-15",
"port-version": 0
},
{
"git-tree": "a18c91830f3f709c03b3d0e245f404e8cf7a99c3",
"version-date": "2018-11-01",
Expand Down

0 comments on commit ba2298b

Please sign in to comment.