Commit Graph

60 Commits

Author SHA1 Message Date
Kai Pastor
edd3db2e3b
[libffi] Use upstream's build system (#33203)
* [libffi] Use upstream's build system

* WIP [skip actions]

* WIP [skip actions]

* WIP [skip actions]

* Finish libffi

* Fix downstream lookup

* Update versions

* [gobject-introspection] Require libffi

* Move DLLs to bin

* [libffi] Usage

* Restore azp

* Fix typo

* CI
2023-08-24 12:51:20 -07:00
jalegido
ca7b1b15f5
Python3 compiling triplet x64-windows (#33232)
* Fix python3 x64-windows

* x-add-version --all

* Update ports/python3/portfile.cmake

Replace tabs by spaces

Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>

* versioning

---------

Co-authored-by: jjll <jjll@gmv.com>
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
2023-08-18 12:04:24 -07:00
Osyotr
35fbd749bf
[python3] Don't set PYTHON_FOR_REGEN for host builds (#33132)
We don't do any regen, so this can be skipped

Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
2023-08-14 17:33:57 -07:00
Alexander Neumann
27276976ca
[3fd|python3] switch to vcpkg-msbuild (#33026)
* [python3] switch to vcpkg-msbuild

* v db

* update 3fd to use vcpkg-msbuild as a sanity check

* Fix windows cross builds

* v db

* arm needs another patch

* v db

* 3fd uwp msbuild_install

* v db
2023-08-09 10:29:22 -07:00
Osyotr
c6928dfb9e
[python3] Update to 3.11.4 (#31727)
* [python3] Update to 3.11.3

* Force set PythonForBuild on windows

* Set LD_LIBRARY_PATH on unix

* Always use vcpkg_find_acquire_program(PYTHON3) on windows

* Remove LD_LIBRARY_PATH shenanigans

* [vtk] Parse python version from include folder

* Fix static builds on windows

* Pass --with-build-python on unix

* [omniorb] Fix python version in patch

* Resurrect rpath patch

* [python3] fix usage

* [gobject-introspection] don't hardcode python version

* Update vcpkg_find_aquire_program(PYTHON3)
This is also required for gobject-introspection

* [paraview] don't hardcode python version

* [vtk-dicom] don't hardcode python version

* Update python in vcpkgTools.xml

* Fix host arch detection in vcpkg_find_acquire_program(PYTHON3)

* [libpq] Don't hardcode python version

* [shiva] Don't pass python variables

* [vcpkg-get-python-packages] Delete unused file, update hardcoded python version

* [python3] update to 3.11.4

* [omniorb] Use PREPEND in vcpkg_add_to_path
So that python from vcpkg is picked before system python

* libpq quickfix

* re-fix libpq

* fix vcpkg-get-python-packages

* Make windows 7 patch compatible with unix builds

* Copy pyd files to bin
Also fixes copying files that do not belong to current build tree

* Fix static builds

* Speculatively fix osx regression

* Fix omniorb on unix

* [gobject-introspection] fix windows builds

* [vtk] Update vendored copy of mpi4py for python 3.11 support

* [mdl-sdk] Fix python

* [gobject-introspection] fix the fix of a fix...

* Update versions

* Undo changes in gobject-introspection and vcpkg_find_aquire_program(PYTHON3)

---------

Co-authored-by: root <root@DESKTOP-UIPL9V8>
2023-08-07 13:19:53 -07:00
MonicaLiu
f84c18b6a5
[python3] Install the debug version of the files *_d.pyd (#32297) 2023-07-26 11:11:05 -07:00
jim wang
0a3bc3d255
[python3] Fix distutils path (#30822)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-26 11:51:50 -07:00
Robert Coup
d2b8d93276
python3: libcrypt doesn't need to be a dependency of libpython (#28887)
Fixed upstream in Python3.11 via https://github.com/python/cpython/issues/89596

Backport here to Python3.10 so libpython doesn't have a needless system
dependency on libcrypt (which is different on Linux between RH-based and
Debian-based distros too).
2023-01-18 12:32:55 -08:00
autoantwort
4f43c4dfca
[python3] force disable curses (#28751) 2023-01-08 21:41:19 -08:00
autoantwort
94780282ac
[Python3] Revert "Python3 cross build support" (#28468)
This reverts commit 1937b15.
2022-12-27 00:57:08 -08:00
rinechran
1937b15357
[Python3] cross build support (#27830)
* [python3] Python3 cross support

* [python3] update python3 port versions

* [python3] : add option when cross build

* [python3] port-verionsing

* python3 : port-version to change 1

* [python3] versioning

* [python3] change baseline update

* [python3] git tree change

* [python3] port-version change

* [python] version 2
2022-12-15 11:49:36 -08:00
xiaozhuai, Weihang Ding
cb76ac9e92
[expat] Fix expat msvc link static crt (#27948)
* Fix expat msvc link static crt

* update port version
2022-11-23 10:12:44 -08:00
Adam Johnson
5599ae4ccf
[python3] Bump to 3.10.7 (#27558)
* [python3] Make patch files contiguous.

When applying these back to the python3 repository and re-formatting,
the gap in patch file numbers requires annoying manual renaming. Debunk
that.

* [python3] Use patch files, not diffs.

Diffs require multiple steps to import into the python3 repository.
Debunk that. The patch format retains authorship information.

* [python3] Fix problems with conflicting patches.

Something modified in the static library patch was being used as a
context line in a later patch. How did this pass CI?

* [python3] Bump to 3.10.7.

* [python3] Fix Windows 7 patch.

* [python3] Back out trivial patch changes.

* [python3] Apply unconditional patches first.

* version things and stuff

* Bump Python tools to 3.10.7.
2022-11-18 11:53:08 -08:00
Christoph Neuhauser
cd4fcc1a22
[python3] Fix compilation of built-in modules on older versions of GCC (#27201) 2022-10-14 16:14:12 -07:00
Osyotr
e2213266cd
[python3] x64-linux-dynamic fixes (#25995)
* [python3] x64-linux-dynamic fixes

* Fix custom post-build checks

* Clarify comment.

Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-08-04 13:49:06 -07:00
Adam Johnson
c266859544
[python3] Update to 3.10.5. (#25105)
* [python3] Update to current

* update versions to current

* [vfap] update python3 to current

* update vcpkgTools.xml
2022-06-17 14:15:56 -07:00
Robert Schumacher
f78f4440df
[python3] Do not ensurepip. Provide venv instructions. (#24906)
* [python3] Bootstrap pip with ${CURRENT_INSTALLED_DIR}

* [python3] Disable ensurepip -- add venv usage instructions

Co-authored-by: Max Khon <fjoe@samodelkin.net>
2022-05-31 16:20:33 -07:00
Alexander Neumann
965961552d
[baseline] [python3] fix bz2(d) search on linux (#23525)
* fix python3 ci?

* add bz2d patch

* fix extra spaces

* version stuff
2022-03-14 01:09:48 -07:00
Adam Johnson
89ed56ebab
[python3] Update to Python 3.10.2. (#23156)
* [python3] Update to Python 3.10.2.

* Version nonsense

* Update Python tool to 3.10.2.

* [python3] Update version file

* [python3] Update versions again

Co-authored-by: Victor Romero <viromer@microsoft.com>
2022-03-11 11:36:11 -08:00
Jack·Boos·Yu
293faeebb1
[python3] Remove static libraries belonging to python3 executable (#23318)
* [python3] Remove static libraries belonging to python3 executable

* version

* Apply suggestions

* version
2022-03-02 15:00:38 -08:00
Kai Pastor
0707a17ecf
[liblzma] No debug postfix. Rewrite wrapper. (#22856)
* Restore upstream's DLL name

* Don't add debug postfix

* Decouple wrapper from config

* Don't inject Find module stuff into config

* Cleanup

* [skip actions] Trim lzmad and LibLZMA patching

* [skip actions] Fix CMAKE_DISABLE_FIND_PACKAGE_LibLZMA

* [skip actions] CI

* Update manifests

* Update versions

* Backfill LibLZMA::LibLZMA to CMake < 3.14

* Update versions

* Update versions
2022-02-28 10:25:31 -08:00
Max Khon
19712ff43a
[python3] Fix pkgconfig for debug Linux builds (#22529) 2022-02-07 21:58:30 -08:00
Robert Schumacher
c0d667ad6b
[python3][python2] Use MKDIR_P to create directories to avoid race conditions (#22902)
* [python3][python2] Use mkdir -p to create directories to avoid race conditions

* Revert "[vcpkg baseline][python3] Fix race during parallel install (#21734)"

This reverts commit a515872b1a.

# Conflicts:
#	ports/python3/vcpkg.json
#	versions/baseline.json
#	versions/p-/python3.json

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-02-04 01:17:37 -08:00
Max Khon
c662463c24
[python3] Install pkg-config files on Windows platforms (#22198) 2022-01-03 14:24:11 -08:00
NancyLi1013
4b35e71e92
[python3] Support arm (#21528)
* [python3] Support arm on non Windows

* Support arm on all platform, add host dependency

* version

* [pybind11] Add supports

* version

Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-12-16 22:20:11 -08:00
David Federman
48bba4f9c3
[python3] Fix SHA512 hash for v3.10.1 (#21979) 2021-12-10 20:48:52 -08:00
David Federman
ec316f8fac
[python3] Update to 3.10.1 (#21927) 2021-12-10 13:58:11 -08:00
Christoph Neuhauser
df9052e29f
[python3] Restrict string replacement to used build type (#21799) 2021-12-02 19:51:47 -08:00
Kai Pastor
a515872b1a
[vcpkg baseline][python3] Fix race during parallel install (#21734)
* Fix race in parallel install

* Update versions
2021-11-29 10:05:12 -08:00
autoantwort
d9b47f3626
[python3] no absolute paths (#21144) 2021-11-09 11:45:15 -08:00
Adam Johnson
15dab6a762
[python3] Upgrade to Python 3.10.0 (#20519)
* [python3] Update to Python 3.10.0rc2 (for testing).

* [python3] Revert trivial patch changes.

* [python3] Bump to 3.10.0 final.

* x-add-version

* update python tools to 3.10.0

* [ecm] Add patch from upstream for Python 3.10.

Remove this on the next release.

* x-add-version

* [python3] Add patch to fix static interpreter.

* x-add-version
2021-10-06 12:53:06 -07:00
Kai Pastor
2ed5383f7b
[vcpkg_configure_make] Standardize OPTIONS list item handling (#19540)
* Remove unused EXTRA_QUOTES

* Uniformly invoke 'configure'

* [libtasn1] Fix mingw build

* Unify prefix handling

* Revise install dir processing

* x-add-version

* Force libdir to lib (adopted from #19666)

* [skip actions] CI rebuild

* CR request: Put backslash before shell var

* CR request: Use vcpkg_list

* Update versions

* Fix python3 options

* Update versions

* Bump python port-version.

* CR request: Add comment about backslashes before prefix

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-30 23:58:36 -07:00
Adam Johnson
f819f66b4c
[python3] Add patch to fix Windows 11 SDK build failure. (#20292)
* [python3] Remove spurious dependencies.

* [python3] Add workaround for SDK 10.0.22000.0

* x-add-version
2021-09-29 09:00:21 -07:00
JonLiu1993
35312384e7
[Python3] update to 3.9.7 (#19851)
* [Python3] update to 3.9.7

* update version

* update vcpkg tool python3 to 3.9.7

* update hash to lowercase

* update portifile.cmake

* update version
2021-09-13 20:00:44 -07:00
Adam Johnson
a66098ad1a
[python3] Update to 3.9.6 (#18754)
* [python3] Bump to 3.9.6

* x-add-version

* Update all tools to Python 3.9.6.
2021-07-13 13:13:06 -07:00
Ankur Verma
bb002cdd1a
[python3] Fix python3:x64-linux builds (#18405)
* Fix build

* Update vcpkg.json

* Fix build

Co-authored-by: Ankur Verma <ankurv@microsoft.com>
Co-authored-by: Ankur Verma <ankurv@nuc.hogwarts>
2021-06-25 14:46:56 -07:00
Christian Rendina
9d7244f2f6
[python3] Update to 3.9.5 (#17773)
* [python3] update to 3.9.5

* [vcpkg] update baseline

* [scripts] update to py 3.9.5
2021-05-26 15:09:28 -07:00
Robert Schumacher
4f942e1b11
[python3] Disable registry access to determine WinSDK (#17579)
Co-authored-by: Robert Schumacher <ras0219@outlook.com>
2021-04-29 13:30:24 -07:00
Adam Johnson
aaa6a031ce
[python3] Add feature deprecated-win7-support. (#16420)
* [python3] Move /MACHINE into MSBuild file.

This prevents potential patch application conflicts.

* [python3] Add feature deprecated-win7-support.

This backports the fix for bpo-39401 from the Python 3.8 branch instead
of the one from the Python 3.9 branch, which dropped support for Windows
7.

* [python3] Bump port version.

* [python3] Fix goof in static patch that omitted pathcch.lib.

* x-add-version

* [python3] Revert trivial patch changes

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-03-29 10:09:14 -07:00
Adam Johnson
0daf0111b2
[python3] upgrade to 3.9.2 (#16315)
* [python3] Update to 3.9.2.

* x-add-version
2021-02-24 14:01:02 -08:00
Adam Johnson
378ffbb940
[python3] Add vcpkg-cmake-wrapper. (#15221)
* [python3] Add vcpkg-cmake-wrapper.cmake.

This is still a WIP... For now, we only remove registry detection on
Windows.

* [python3] Fix Windows static embedding linkage.

* [python3] Fix Linux static library embedding.

* [python3] Fix linkage on macOS.

* [python3] Only link extra libs when static.

* [python3] Bump port version for vcpkg-cmake-wrapper.

* [itk] Remove obsolete Python artifact specification.

* [pybind11] Remove obsolete Python artifact specification.

* [python3] Mark `find_package()` calls as REQUIRED.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* [python3] Bump port version after #15378.

* [python3] Be more selective about when to unleash the nukes.

* [python3] Add usage message.

* [python3] Don't swallow `vcpkg_find_acquire_program`'s Python3.

* [python3] Don't forcibly change the registry find state.

* [python3] fix copypasta error

* [python3] Fix config error with the opensubdiv port.

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-01-05 13:39:53 -08:00
Adam Johnson
bdb225bc68
[python3] Build interpreter (#14891) 2020-12-18 12:00:45 -08:00
Adam Johnson
46068e8a37
[python3] Upgrade to 3.9.0 (#14510)
* [python3] Bump to 3.8.6.

* [python3] Bump to 3.9.0.

* [itk] Correct python artifact names.

* [pybind11] Update python artifact names.

* [vcpkg_find_acquire_program] Bump PYTHON3 to 3.9.0.
2020-11-20 09:44:51 -08:00
Jack·Boos·Yu
ae562b7841
[python3] Fix installation on OpenSUSE (#13274) 2020-09-04 22:23:57 -07:00
Adam Johnson
e1783c68c4
[python3] Update to Python 3.8 (#11708)
* [python3] Update to Python 3.8.3.

[vtk] Update to Python 3.8 and fix improper Python3 artifact
specification.

* [python3] Fix static linking, broken in 121faf2.

* [hyperscan] Add missing build dependency (fixes CI on macOS).
2020-06-11 22:23:26 -07:00
NancyLi1013
4c1db6840f
[python3] Fix dynamic build error on Linux (#11489)
* [python3] Fix dynamic build error on Linux

* Update baseline to resolve the regression
2020-05-21 11:39:48 -07:00
Stefano Sinigardi
614ac279da
[python3] fix build on macOS and linux (#10841)
* [python3] fix build on macOS and linux

* update ci baseline
2020-04-16 11:57:59 -07:00
MACHIZAUD Andréa
e48fe56787
[python3] Modernize port + added --enable-shared (#9978) 2020-03-10 12:25:18 -07:00
xabbudm
e3dfd4a9fa [VCPKG] WinHTTPOption for company Proxy not correctly taken into account (#9372)
* fixes to get vcpkg up and running when behind corporate proxy

* clean up of code to check if HTTP_PROXY environment variable is set

*  fixed compiler errors for non win32 systems

* [vcpkg] Simplify HTTPS_PROXY code for WinHTTP

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-16 13:56:28 -08:00
heydojo
d02bfe065d Prevent python3 build failure (#9014)
* Prevent python3 build failure

If VCPKG_BUILD_TYPE release is set inside a
triplet, then the build will fail because
the port file attempts to deal with debug
files which will never exist. The changes
in this patch allow the build to succeed
if VCPKG_BUILD_TYPE release is stipulated
using a triplet before a build of the
python3 port is initiated.

* python3 version bump

Port clean up and version number
bump.

* libxslt release triplet build fix

This patch fixes a condition where
if a debug build is disabled via
triplet, the build fails and an
empty directory error message
is sent to the console.
2019-11-18 14:04:25 -08:00