Files
poky/meta/recipes-devtools/python/python3-scons_4.7.0.bb
Ross Burton ad37caf48c python3-scons: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 9cf6a9c261b3c01402c511a2a9b4a9fda33b6e8e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00

36 lines
947 B
BlitzBasic

SUMMARY = "Software Construction tool (make/autotools replacement)"
HOMEPAGE = "https://github.com/SCons/scons"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7"
SRC_URI += " file://0001-Fix-man-page-installation.patch"
SRC_URI[sha256sum] = "d8b617f6610a73e46509de70dcf82f76861b79762ff602d546f4e80918ec81f3"
PYPI_PACKAGE = "SCons"
inherit pypi python_setuptools_build_meta
RDEPENDS:${PN}:class-target = "\
python3-core \
python3-compression \
python3-fcntl \
python3-io \
python3-json \
python3-shell \
python3-pickle \
python3-pkg-resources \
python3-pprint \
"
do_install:append() {
install -d ${D}${mandir}/man1
mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/
}
do_install:append:class-native() {
create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
}
BBCLASSEXTEND = "native"