Skip to content

Commit

Permalink
[vcpkg-scripts][boost] Improve generate-ports.ps1 (microsoft#38814)
Browse files Browse the repository at this point in the history
- Change homepage URLs to point to documentation instead of GH.
- Allow encoding alternative propagation of `supports`/`platform` so
that changes don't need to be selected manually.
- Allow to suppress the generated dependency `platform` expression when
a dependency is non-optional.
(`boost-parameter` requires `boost-python`, and the dependency
transitively determines the supported platforms of the dependent port.)
- For port `boost`, generate `platform` expression from transitive
`supports` limitations.
(`boost-parameter` platform expression must account for `boost-python`.)
This fixes port `boost` for uwp. And so it can now be directly
referenced from `vcpkg-ci-boost` which is already enforced to `pass` in
ci.baseline.txt. 🎉
 - Restores sorting of `$portData`.
 - Use the same tarball download area and naming as `vcpkg install`.
 
This PR doesn't include the updates to `boost-container` (microsoft#38806),
`bost-interprocess` (microsoft#38815) and boost-math (microsoft#38728)
  • Loading branch information
dg0yt authored May 27, 2024
1 parent 891f875 commit 007aace
Show file tree
Hide file tree
Showing 311 changed files with 1,284 additions and 329 deletions.
3 changes: 2 additions & 1 deletion ports/boost-accumulators/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-accumulators",
"version": "1.85.0",
"port-version": 1,
"description": "Boost accumulators module",
"homepage": "https://github.com/boostorg/accumulators",
"homepage": "https://www.boost.org/libs/accumulators",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-algorithm/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-algorithm",
"version": "1.85.0",
"port-version": 1,
"description": "Boost algorithm module",
"homepage": "https://github.com/boostorg/algorithm",
"homepage": "https://www.boost.org/libs/algorithm",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-align/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-align",
"version": "1.85.0",
"port-version": 1,
"description": "Boost align module",
"homepage": "https://github.com/boostorg/align",
"homepage": "https://www.boost.org/libs/align",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-any/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-any",
"version": "1.85.0",
"port-version": 1,
"description": "Boost any module",
"homepage": "https://github.com/boostorg/any",
"homepage": "https://www.boost.org/libs/any",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-array/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-array",
"version": "1.85.0",
"port-version": 1,
"description": "Boost array module",
"homepage": "https://github.com/boostorg/array",
"homepage": "https://www.boost.org/libs/array",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-asio/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-asio",
"version": "1.85.0",
"port-version": 1,
"description": "Boost asio module",
"homepage": "https://github.com/boostorg/asio",
"homepage": "https://www.boost.org/libs/asio",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-assert/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-assert",
"version": "1.85.0",
"port-version": 1,
"description": "Boost assert module",
"homepage": "https://github.com/boostorg/assert",
"homepage": "https://www.boost.org/libs/assert",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-assign/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-assign",
"version": "1.85.0",
"port-version": 1,
"description": "Boost assign module",
"homepage": "https://github.com/boostorg/assign",
"homepage": "https://www.boost.org/libs/assign",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-atomic/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-atomic",
"version": "1.85.0",
"port-version": 1,
"description": "Boost atomic module",
"homepage": "https://github.com/boostorg/atomic",
"homepage": "https://www.boost.org/libs/atomic",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-beast/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-beast",
"version": "1.85.0",
"port-version": 1,
"description": "Boost beast module",
"homepage": "https://github.com/boostorg/beast",
"homepage": "https://www.boost.org/libs/beast",
"license": "BSL-1.0",
"supports": "!emscripten",
"dependencies": [
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-bimap/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-bimap",
"version": "1.85.0",
"port-version": 1,
"description": "Boost bimap module",
"homepage": "https://github.com/boostorg/bimap",
"homepage": "https://www.boost.org/libs/bimap",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-bind/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-bind",
"version": "1.85.0",
"port-version": 1,
"description": "Boost bind module",
"homepage": "https://github.com/boostorg/bind",
"homepage": "https://www.boost.org/libs/bind",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
1 change: 1 addition & 0 deletions ports/boost-build/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-build",
"version": "1.85.0",
"port-version": 1,
"description": "Boost.Build",
"homepage": "https://github.com/boostorg/build",
"license": "BSL-1.0",
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-callable-traits/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-callable-traits",
"version": "1.85.0",
"port-version": 1,
"description": "Boost callable_traits module",
"homepage": "https://github.com/boostorg/callable_traits",
"homepage": "https://www.boost.org/libs/callable_traits",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-charconv/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-charconv",
"version": "1.85.0",
"port-version": 1,
"description": "Boost charconv module",
"homepage": "https://github.com/boostorg/charconv",
"homepage": "https://www.boost.org/libs/charconv",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-chrono/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-chrono",
"version": "1.85.0",
"port-version": 1,
"description": "Boost chrono module",
"homepage": "https://github.com/boostorg/chrono",
"homepage": "https://www.boost.org/libs/chrono",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-circular-buffer/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-circular-buffer",
"version": "1.85.0",
"port-version": 1,
"description": "Boost circular_buffer module",
"homepage": "https://github.com/boostorg/circular_buffer",
"homepage": "https://www.boost.org/libs/circular_buffer",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
2 changes: 2 additions & 0 deletions ports/boost-cmake/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-cmake",
"version": "1.85.0",
"port-version": 1,
"description": "Boost CMake support infrastructure",
"homepage": "https://github.com/boostorg/cmake",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-cobalt/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-cobalt",
"version": "1.85.0",
"port-version": 1,
"description": "Boost cobalt module",
"homepage": "https://github.com/boostorg/cobalt",
"homepage": "https://www.boost.org/libs/cobalt",
"license": "BSL-1.0",
"supports": "!osx & !ios & !android & !uwp",
"dependencies": [
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-compat/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-compat",
"version": "1.85.0",
"port-version": 1,
"description": "Boost compat module",
"homepage": "https://github.com/boostorg/compat",
"homepage": "https://www.boost.org/libs/compat",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-compatibility/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-compatibility",
"version": "1.85.0",
"port-version": 1,
"description": "Boost compatibility module",
"homepage": "https://github.com/boostorg/compatibility",
"homepage": "https://www.boost.org/libs/compatibility",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-compute/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-compute",
"version": "1.85.0",
"port-version": 1,
"description": "Boost compute module",
"homepage": "https://github.com/boostorg/compute",
"homepage": "https://www.boost.org/libs/compute",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-concept-check/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-concept-check",
"version": "1.85.0",
"port-version": 1,
"description": "Boost concept_check module",
"homepage": "https://github.com/boostorg/concept_check",
"homepage": "https://www.boost.org/libs/concept_check",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-config/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-config",
"version": "1.85.0",
"port-version": 1,
"description": "Boost config module",
"homepage": "https://github.com/boostorg/config",
"homepage": "https://www.boost.org/libs/config",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-container-hash/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-container-hash",
"version": "1.85.0",
"port-version": 1,
"description": "Boost container_hash module",
"homepage": "https://github.com/boostorg/container_hash",
"homepage": "https://www.boost.org/libs/container_hash",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-context/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-context",
"version": "1.85.0",
"port-version": 1,
"description": "Boost context module",
"homepage": "https://github.com/boostorg/context",
"homepage": "https://www.boost.org/libs/context",
"license": "BSL-1.0",
"supports": "!uwp & !emscripten",
"dependencies": [
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-contract/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-contract",
"version": "1.85.0",
"port-version": 1,
"description": "Boost contract module",
"homepage": "https://github.com/boostorg/contract",
"homepage": "https://www.boost.org/libs/contract",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-conversion/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-conversion",
"version": "1.85.0",
"port-version": 1,
"description": "Boost conversion module",
"homepage": "https://github.com/boostorg/conversion",
"homepage": "https://www.boost.org/libs/conversion",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-convert/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-convert",
"version": "1.85.0",
"port-version": 1,
"description": "Boost convert module",
"homepage": "https://github.com/boostorg/convert",
"homepage": "https://www.boost.org/libs/convert",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-core/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-core",
"version": "1.85.0",
"port-version": 1,
"description": "Boost core module",
"homepage": "https://github.com/boostorg/core",
"homepage": "https://www.boost.org/libs/core",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-coroutine/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-coroutine",
"version": "1.85.0",
"port-version": 1,
"description": "Boost coroutine module",
"homepage": "https://github.com/boostorg/coroutine",
"homepage": "https://www.boost.org/libs/coroutine",
"license": "BSL-1.0",
"supports": "!(arm & windows) & !uwp & !emscripten",
"dependencies": [
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-coroutine2/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-coroutine2",
"version": "1.85.0",
"port-version": 1,
"description": "Boost coroutine2 module",
"homepage": "https://github.com/boostorg/coroutine2",
"homepage": "https://www.boost.org/libs/coroutine2",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-crc/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-crc",
"version": "1.85.0",
"port-version": 1,
"description": "Boost crc module",
"homepage": "https://github.com/boostorg/crc",
"homepage": "https://www.boost.org/libs/crc",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-date-time/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-date-time",
"version": "1.85.0",
"port-version": 1,
"description": "Boost date_time module",
"homepage": "https://github.com/boostorg/date_time",
"homepage": "https://www.boost.org/libs/date_time",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-describe/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-describe",
"version": "1.85.0",
"port-version": 1,
"description": "Boost describe module",
"homepage": "https://github.com/boostorg/describe",
"homepage": "https://www.boost.org/libs/describe",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
3 changes: 2 additions & 1 deletion ports/boost-detail/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"$comment": "Automatically generated by scripts/boost/generate-ports.ps1",
"name": "boost-detail",
"version": "1.85.0",
"port-version": 1,
"description": "Boost detail module",
"homepage": "https://github.com/boostorg/detail",
"homepage": "https://www.boost.org/libs/detail",
"license": "BSL-1.0",
"dependencies": [
{
Expand Down
Loading

0 comments on commit 007aace

Please sign in to comment.