summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-devtools/python/python3-scons_4.8.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-devtools/python/python3-scons_4.8.0.bb')
-rw-r--r--poky/meta/recipes-devtools/python/python3-scons_4.8.0.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/python/python3-scons_4.8.0.bb b/poky/meta/recipes-devtools/python/python3-scons_4.8.0.bb
new file mode 100644
index 0000000000..b1348665e0
--- /dev/null
+++ b/poky/meta/recipes-devtools/python/python3-scons_4.8.0.bb
@@ -0,0 +1,30 @@
+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[sha256sum] = "2c7377ff6a22ca136c795ae3dc3d0824696e5478d1e4940f2af75659b0d45454"
+UPSTREAM_CHECK_PYPI_PACKAGE = "SCons"
+
+inherit pypi python_setuptools_build_meta
+
+S = "${WORKDIR}/SCons-${PV}"
+
+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:class-native() {
+ create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
+}
+
+BBCLASSEXTEND = "native"