diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2024-03-26 08:34:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-16 07:38:37 +0100 |
commit | f61957bc35fe36849c5b0d8ed512da7ee7d1f084 (patch) | |
tree | 4a18b4cdb259e753df3abc6e4b2ce597bbd5af89 /meta/recipes-devtools/python/python3-scons_4.7.0.bb | |
parent | 9c608f3bf72141b97be3f64d5ab03592004155e5 (diff) | |
download | openembedded-core-f61957bc35fe36849c5b0d8ed512da7ee7d1f084.tar.gz |
python3-scons: upgrade 4.6.0 -> 4.7.0
Changelog:
https://github.com/SCons/scons/releases/tag/4.7.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-scons_4.7.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-scons_4.7.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb b/meta/recipes-devtools/python/python3-scons_4.7.0.bb new file mode 100644 index 0000000000..bba6c799d4 --- /dev/null +++ b/meta/recipes-devtools/python/python3-scons_4.7.0.bb @@ -0,0 +1,36 @@ +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 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" |