mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

python3-ninja is a build dependency for other python modules.
For this, python3-ninja must be built for native mode.
This partially reverts d4aa17dc43
("meta-python: Drop broken BBCLASSEXTEND variants")
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
633 B
BlitzBasic
26 lines
633 B
BlitzBasic
SUMMARY = "Ninja is a small build system with a focus on speed"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5"
|
|
|
|
PYPI_PACKAGE = "ninja"
|
|
PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
SRC_URI[sha256sum] = "c833a47d39b2d1eee3f9ca886fa1581efd5be6068b82734ac229961ee8748f90"
|
|
|
|
SRC_URI += "file://no-scikit-build.patch \
|
|
file://run-ninja-from-path.patch"
|
|
|
|
do_install:append () {
|
|
rm -rf ${D}${bindir}
|
|
}
|
|
|
|
RDEPENDS:${PN} = " \
|
|
ninja \
|
|
python3-io \
|
|
python3-json \
|
|
python3-ninja-syntax \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|