Skip to content

Commit ba2298b

Browse files
[docopt] Update to latest version. (microsoft#37046)
- [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.
1 parent 60a7a4e commit ba2298b

7 files changed

+13
-78
lines changed

ports/docopt/001-fix-unresolved-symbol.patch

-28
This file was deleted.

ports/docopt/002-fix-install-path.patch

-16
This file was deleted.

ports/docopt/install-one-flavor.patch

-21
This file was deleted.

ports/docopt/portfile.cmake

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
vcpkg_from_github(
22
OUT_SOURCE_PATH SOURCE_PATH
33
REPO docopt/docopt.cpp
4-
REF 7476f8e56b4650aaeafb4e1cda2e5d8f01fddd97
5-
SHA512 6765e8a3a834ad75bd87effee5ac7e174482039d26015346b95d7d64e4e0097cc3f1f2e6fd9e3e5970bf4c5719095c0a3e5edfac18217913dc88fbe569d37ae8
4+
REF 400e6dd8e59196c914dcc2c56caf7dae7efa5eb3
5+
SHA512 a9ef466ba40127f636bc20beb7508c4da2dc32c0c37acb5729644f31d4910d9c0253f311457f39ed57605775e72f3370aff4e5ef88e60a49d190bc4760c40ea3
66
HEAD_REF master
7-
PATCHES
8-
001-fix-unresolved-symbol.patch
9-
002-fix-install-path.patch
10-
install-one-flavor.patch
117
)
128

139
vcpkg_cmake_configure(
@@ -21,6 +17,7 @@ vcpkg_cmake_configure(
2117
vcpkg_cmake_install()
2218

2319
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/docopt)
20+
vcpkg_fixup_pkgconfig()
2421

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

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

3835
# Handle copyright
39-
file(INSTALL
40-
"${SOURCE_PATH}/LICENSE-MIT"
41-
DESTINATION "${CURRENT_PACKAGES_DIR}/share/docopt" RENAME copyright)
36+
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE-MIT" "${SOURCE_PATH}/LICENSE-Boost-1.0")
4237

4338
vcpkg_copy_pdbs()

ports/docopt/vcpkg.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "docopt",
3-
"version-date": "2018-11-01",
4-
"port-version": 3,
3+
"version-date": "2022-03-15",
54
"description": "Command line arguments parser that will make you smile (C++11 port).",
5+
"license": "MIT OR BSL-1.0",
66
"dependencies": [
77
{
88
"name": "vcpkg-cmake",

versions/baseline.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2277,8 +2277,8 @@
22772277
"port-version": 0
22782278
},
22792279
"docopt": {
2280-
"baseline": "2018-11-01",
2281-
"port-version": 3
2280+
"baseline": "2022-03-15",
2281+
"port-version": 0
22822282
},
22832283
"doctest": {
22842284
"baseline": "2.4.11",

versions/d-/docopt.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "98cead1c88cad77bef9acf4571d6bd8a2a06cf3a",
5+
"version-date": "2022-03-15",
6+
"port-version": 0
7+
},
38
{
49
"git-tree": "a18c91830f3f709c03b3d0e245f404e8cf7a99c3",
510
"version-date": "2018-11-01",

0 commit comments

Comments
 (0)