diff options
| author | Osyotr <Osyotr@users.noreply.github.com> | 2021-07-16 10:19:25 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-16 00:19:25 -0700 |
| commit | 8d5a4268a2b7cb079c3a37d70af75269c2f1f42d (patch) | |
| tree | f829b145f97b0bdb980b4d80ae56491821e0c42e | |
| parent | bef043cfe12eb98e2feb0b0976ea6c0fc9046f72 (diff) | |
| download | vcpkg-8d5a4268a2b7cb079c3a37d70af75269c2f1f42d.tar.gz vcpkg-8d5a4268a2b7cb079c3a37d70af75269c2f1f42d.zip | |
[boost-python] Allow feature python2 on Unix (#18465)
* [boost-python] Allow feature python2 on Unix
* Update version record
| -rw-r--r-- | ports/boost-python/vcpkg.json | 6 | ||||
| -rw-r--r-- | scripts/boost/generate-ports.ps1 | 3 | ||||
| -rw-r--r-- | versions/b-/boost-python.json | 5 | ||||
| -rw-r--r-- | 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 02c309ff4..754db2e9c 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 38e7b2671..107951472 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 7735ac9e1..3b2903d19 100644 --- a/versions/b-/boost-python.json +++ b/versions/b-/boost-python.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "789047e74a9db18c96ada8dc7addda4fc867360e", + "version": "1.76.0", + "port-version": 1 + }, + { "git-tree": "22a76d7b62c1e7eab693c827b1ca942acdb46a1b", "version": "1.76.0", "port-version": 0 diff --git a/versions/baseline.json b/versions/baseline.json index a58944d60..c5934c347 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", |
