Files
poky/meta/recipes-devtools/python/python3-scons_4.5.2.bb
Martin Jansa 4e64ed684c python3-scons: upgrade to v4.5.2
* fixes:
  https://github.com/SCons/scons/issues/4321
  which caused e.g. iotifity to fail in do_compile

(From OE-Core rev: 5b022730053cdf62db57f497014ed85e2f7057b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00

37 lines
961 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] = "813360b2bce476bc9cc12a0f3a22d46ce520796b352557202cb07d3e402f5458"
PYPI_PACKAGE = "SCons"
inherit pypi setuptools3
RDEPENDS:${PN}:class-target = "\
python3-core \
python3-compression \
python3-fcntl \
python3-importlib-metadata \
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"