summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-scons_4.3.0.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-02-22 11:16:48 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-25 15:07:50 +0000
commit7b4524f5a1f88378dd4a10d88bc07d90fdba1aac (patch)
treed998f7fffffce5c54e9dbe5bf00047ae360108e2 /meta/recipes-devtools/python/python3-scons_4.3.0.bb
parent5c5347449e304086d3ef20d4822336ab583fdd25 (diff)
downloadpoky-7b4524f5a1f88378dd4a10d88bc07d90fdba1aac.tar.gz
python3-scons: merge -native recipe
The native recipe simply calls create_wrapper to add a host script. Do this via do_install:append:class-native() The scons*.1 man pages are being installed in ${prefix}, move them to ${mandir} (previously installed in ${datadir}). [YOCTO #14638] Drop from maintainers.inc (From OE-Core rev: f91009d168bcad5df6b3ca4f5cd4babff5cf682c) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-scons_4.3.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.3.0.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-scons_4.3.0.bb b/meta/recipes-devtools/python/python3-scons_4.3.0.bb
index bff2fdae92..cfb075f65f 100644
--- a/meta/recipes-devtools/python/python3-scons_4.3.0.bb
+++ b/meta/recipes-devtools/python/python3-scons_4.3.0.bb
@@ -8,6 +8,7 @@ SRC_URI += " file://0001-Fix-man-page-installation.patch"
8SRC_URI[sha256sum] = "d47081587e3675cc168f1f54f0d74a69b328a2fc90ec4feb85f728677419b879" 8SRC_URI[sha256sum] = "d47081587e3675cc168f1f54f0d74a69b328a2fc90ec4feb85f728677419b879"
9 9
10PYPI_PACKAGE = "SCons" 10PYPI_PACKAGE = "SCons"
11PIP_INSTALL_DIST_PATH = "${B}/build/dist"
11 12
12inherit pypi setuptools3 13inherit pypi setuptools3
13 14
@@ -24,4 +25,14 @@ RDEPENDS:${PN}:class-target = "\
24 python3-pprint \ 25 python3-pprint \
25 " 26 "
26 27
27FILES:${PN}-doc += "${datadir}/scons*.1" 28do_install:append() {
29 install -d ${D}${mandir}/man1
30 mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/
31}
32FILES:${PN}-doc += "${mandir}/man1/scons*.1"
33
34do_install:append:class-native() {
35 create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
36}
37
38BBCLASSEXTEND = "native"