Commit Graph
3 Commits
Author SHA1 Message Date
Josef Schlehofer a8c37e36c1 python-cffi: fix cross-compilation on macOS hosts
setup.py picks the macOS-only -iwithsysroot/usr/include/ffi flag from
sys.platform, which describes the interpreter running the build rather than
the target, so cross-compiling from a macOS host hands an Apple clang flag to
the GNU cross compiler and the build fails. Use sysconfig.get_platform(),
which honours the _PYTHON_HOST_PLATFORM that python3-package.mk exports.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-08-09 11:42:40 +03:00
Alexandru Ardelean 2590594111 python-cffi: bump to version 2.0.0
Bump to version 2.0.0 because the CI seems to also include this.
Drop patch for un-pinning setuptools.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-11-12 21:44:33 +02:00
Jeffery To dd5af62695 python-cffi: Update to 1.16.0
This includes a patch to unpin the version of setuptools required for
build; the required version is newer than the version bundled with
Python 3.11. This patch should not be necessary when Python 3.12 is
available.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-10-03 22:35:59 +08:00