From 8d5a4268a2b7cb079c3a37d70af75269c2f1f42d Mon Sep 17 00:00:00 2001 From: Osyotr Date: Fri, 16 Jul 2021 10:19:25 +0300 Subject: [PATCH] [boost-python] Allow feature python2 on Unix (#18465) * [boost-python] Allow feature python2 on Unix * Update version record --- ports/boost-python/vcpkg.json | 6 ++---- scripts/boost/generate-ports.ps1 | 3 ++- versions/b-/boost-python.json | 5 +++++ versions/baseline.json | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ports/boost-python/vcpkg.json b/ports/boost-python/vcpkg.json index 02c309ff46..754db2e9cf 100644 --- a/ports/boost-python/vcpkg.json +++ b/ports/boost-python/vcpkg.json @@ -1,6 +1,7 @@ { "name": "boost-python", "version": "1.76.0", + "port-version": 1, "description": "Boost python module", "homepage": "https://github.com/boostorg/python", "supports": "!uwp & !(arm & windows) & !emscripten", @@ -41,10 +42,7 @@ "python2": { "description": "Build with Python2 support", "dependencies": [ - { - "name": "python2", - "platform": "windows" - } + "python2" ] } } diff --git a/scripts/boost/generate-ports.ps1 b/scripts/boost/generate-ports.ps1 index 38e7b2671e..1079514720 100644 --- a/scripts/boost/generate-ports.ps1 +++ b/scripts/boost/generate-ports.ps1 @@ -27,6 +27,7 @@ else # Clear this array when moving to a new boost version $port_versions = @{ #e.g. "asio" = 1; + "python" = 1; } $per_port_data = @{ @@ -57,7 +58,7 @@ $per_port_data = @{ "supports" = "!uwp&!(arm&windows)&!emscripten"; "features" = @{ python2=@{ - dependencies=@(@{name="python2"; platform="windows"}) + dependencies=@("python2") description="Build with Python2 support" } } diff --git a/versions/b-/boost-python.json b/versions/b-/boost-python.json index 7735ac9e1b..3b2903d194 100644 --- a/versions/b-/boost-python.json +++ b/versions/b-/boost-python.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "789047e74a9db18c96ada8dc7addda4fc867360e", + "version": "1.76.0", + "port-version": 1 + }, { "git-tree": "22a76d7b62c1e7eab693c827b1ca942acdb46a1b", "version": "1.76.0", diff --git a/versions/baseline.json b/versions/baseline.json index a58944d606..c5934c3475 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -854,7 +854,7 @@ }, "boost-python": { "baseline": "1.76.0", - "port-version": 0 + "port-version": 1 }, "boost-qvm": { "baseline": "1.76.0",