Commit Graph

3 Commits

Author SHA1 Message Date
Jiaying Song
16a72067f5 python3-ninja: upgrade 1.11.1.1 -> 1.13.0
Changelog:
https://github.com/scikit-build/ninja-python-distributions/releases

Upstream commit [1] switched build system from scikit-build to
scikit-build-core, which changed pyproject.toml structure and rewrote
__init__.py. Update patches accordingly:

- no-scikit-build.patch: rewrite for new pyproject.toml structure,
  replace scikit-build-core with setuptools, and remove 'readme'
  from dynamic fields as setuptools cannot handle the fancy-pypi-readme
  plugin.
- run-ninja-from-path.patch: drop. Old version imported skbuild
  modules in __init__.py which caused ImportError in OE since
  scikit-build is not installed. New version replaced these imports
  with stdlib sysconfig, so the patch is no longer needed.
- CMakeLists.txt: drop. This was a stub file added to prevent
  scikit-build from failing when it could not find CMakeLists.txt.
  Since we now use setuptools which does not require it, the file
  can be removed.

[1] https://github.com/scikit-build/ninja-python-distributions/commit/f3b4a786be

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 14:33:27 -07:00
Derek Straka
d8637f07a2 python3-ninja: update to version 1.11.1.1
Changelog
  fix(wheels): link libstdc++ statically on manylinux1 by @mayeut in #159
  chore(wheels): link libstdc++/libgcc statically on musllinux by @mayeut in #160
  chore: add Windows ARM support by @henryiii in #169
  chore: continue testing with python 2.7 by @mayeut in #199
  chore: move to setuptools_scm by @henryiii in #170
  chore: switch to ruff by @henryiii in #174
  chore: use trusted publisher deployment by @jcfr in #191
  chore: use wheel tags cli by @mayeut in #84
  ci: allow setting a version by @henryiii in #171
  ci: cancel on repeated pushes by @henryiii in #177

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:42 -08:00
Ross Burton
15bc6cc2f0 python3-ninja: simplify recipe
Delete more code from __init__.py as we'll never be running from inside
a build tree.

Replace the use of skbuild.setup() with setuptools.setup(): the same
Python module is built and the only value-add is the potential build of
ninja, which we don't want and delete anyway.

This means we can remove most of the DEPENDS and RDEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-04 10:23:40 -07:00