diff options
| author | Jiaying Song <jiaying.song.cn@windriver.com> | 2026-03-16 17:34:42 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-18 14:33:27 -0700 |
| commit | 16a72067f53cd667e674e77913586b3693c51ef2 (patch) | |
| tree | 1425942222f22c4ee131870e1d1cbd61aa6a1099 /meta-python/recipes-devtools/python/python3-ninja_1.13.0.bb | |
| parent | f75f4164fd7184ed47e119c782cea583b96fbb45 (diff) | |
| download | meta-openembedded-16a72067f53cd667e674e77913586b3693c51ef2.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ninja_1.13.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ninja_1.13.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ninja_1.13.0.bb b/meta-python/recipes-devtools/python/python3-ninja_1.13.0.bb new file mode 100644 index 0000000000..1591be0912 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ninja_1.13.0.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "Ninja is a small build system with a focus on speed" | ||
| 2 | LICENSE = "Apache-2.0" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5" | ||
| 4 | |||
| 5 | PYPI_PACKAGE = "ninja" | ||
| 6 | PYPI_ARCHIVE_NAME_PREFIX = "pypi-" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta | ||
| 9 | SRC_URI[sha256sum] = "4a40ce995ded54d9dc24f8ea37ff3bf62ad192b547f6c7126e7e25045e76f978" | ||
| 10 | |||
| 11 | SRC_URI += "file://no-scikit-build.patch " | ||
| 12 | |||
| 13 | DEPENDS += "python3-setuptools-scm-native" | ||
| 14 | |||
| 15 | do_install:append () { | ||
| 16 | rm -rf ${D}${bindir} | ||
| 17 | } | ||
| 18 | |||
| 19 | RDEPENDS:${PN} = " \ | ||
| 20 | ninja \ | ||
| 21 | python3-io \ | ||
| 22 | python3-json \ | ||
| 23 | python3-ninja-syntax \ | ||
| 24 | " | ||
| 25 | |||
| 26 | BBCLASSEXTEND = "native nativesdk" | ||
