deleted file mode 100644
@@ -1,7 +0,0 @@
-require python3-scons_${PV}.bb
-inherit native python3native
-DEPENDS = "python3-native python3-setuptools-native"
-
-do_install:append() {
- create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
-}
@@ -8,6 +8,7 @@ SRC_URI += " file://0001-Fix-man-page-installation.patch"
SRC_URI[sha256sum] = "d47081587e3675cc168f1f54f0d74a69b328a2fc90ec4feb85f728677419b879"
PYPI_PACKAGE = "SCons"
+PIP_INSTALL_DIST_PATH = "${B}/build/dist"
inherit pypi setuptools3
@@ -24,4 +25,14 @@ RDEPENDS:${PN}:class-target = "\
python3-pprint \
"
-FILES:${PN}-doc += "${datadir}/scons*.1"
+do_install:append() {
+ install -d ${D}${mandir}/man1
+ mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/
+}
+FILES:${PN}-doc += "${mandir}/man1/scons*.1"
+
+do_install:append:class-native() {
+ create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
+}
+
+BBCLASSEXTEND = "native"
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] Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- .../python/python3-scons-native_4.3.0.bb | 7 ------- meta/recipes-devtools/python/python3-scons_4.3.0.bb | 13 ++++++++++++- 2 files changed, 12 insertions(+), 8 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-scons-native_4.3.0.bb