1SUMMARY = "Software Construction tool (make/autotools replacement)"
2HOMEPAGE = "https://github.com/SCons/scons"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7"
6
7SRC_URI[sha256sum] = "5b641357904d2f56f7bfdbb37e165ab996b6143c948b9df0efc7305f54949daa"
8UPSTREAM_CHECK_PYPI_PACKAGE = "SCons"
9
10inherit pypi python_setuptools_build_meta
11
12S = "${WORKDIR}/SCons-${PV}"
13
14RDEPENDS:${PN}:class-target = "\
15  python3-core \
16  python3-compression \
17  python3-fcntl \
18  python3-io \
19  python3-json \
20  python3-shell \
21  python3-pickle \
22  python3-pkg-resources \
23  python3-pprint \
24  "
25
26do_install:append:class-native() {
27    create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
28}
29
30BBCLASSEXTEND = "native"
31