summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3-scons-native_4.3.0.bb7
-rw-r--r--meta/recipes-devtools/python/python3-scons_4.3.0.bb13
2 files changed, 12 insertions, 8 deletions
diff --git a/meta/recipes-devtools/python/python3-scons-native_4.3.0.bb b/meta/recipes-devtools/python/python3-scons-native_4.3.0.bb
deleted file mode 100644
index 73076b8732..0000000000
--- a/meta/recipes-devtools/python/python3-scons-native_4.3.0.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1require python3-scons_${PV}.bb
2inherit native python3native
3DEPENDS = "python3-native python3-setuptools-native"
4
5do_install:append() {
6 create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1'
7}
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"