meta-openembedded/meta-python/recipes-devtools/python/python3-ninja_1.11.1.bb
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

21 lines
560 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"
BBCLASSEXTEND = "native nativesdk"