diff options
-rw-r--r-- | meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch | 29 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-scons_4.8.0.bb (renamed from meta/recipes-devtools/python/python3-scons_4.7.0.bb) | 13 |
2 files changed, 4 insertions, 38 deletions
diff --git a/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch b/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch deleted file mode 100644 index 6dffe64809..0000000000 --- a/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 8b482e618047e94833545dce3a26924ef4f075db Mon Sep 17 00:00:00 2001 | ||
2 | From: Tim Orling <ticotimo@gmail.com> | ||
3 | Date: Sat, 22 May 2021 11:20:46 -0700 | ||
4 | Subject: [PATCH] Fix man page installation | ||
5 | |||
6 | Fixes: | ||
7 | error: can't copy 'build/doc/man/scons.1': doesn't exist or not a regular file | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe specific] | ||
10 | |||
11 | Signed-off-by: Tim Orling <ticotimo@gmail.com> | ||
12 | |||
13 | --- | ||
14 | MANIFEST.in | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/MANIFEST.in b/MANIFEST.in | ||
18 | index 04ec000..937f6f3 100644 | ||
19 | --- a/MANIFEST.in | ||
20 | +++ b/MANIFEST.in | ||
21 | @@ -4,7 +4,7 @@ recursive-include SCons/Tool/docbook * | ||
22 | include LICENSE | ||
23 | |||
24 | include scons.1 sconsign.1 scons-time.1 | ||
25 | -recursive-include build/doc/man *.1 | ||
26 | +#recursive-include build/doc/man *.1 | ||
27 | |||
28 | |||
29 | |||
diff --git a/meta/recipes-devtools/python/python3-scons_4.7.0.bb b/meta/recipes-devtools/python/python3-scons_4.8.0.bb index f41b3e9271..b1348665e0 100644 --- a/meta/recipes-devtools/python/python3-scons_4.7.0.bb +++ b/meta/recipes-devtools/python/python3-scons_4.8.0.bb | |||
@@ -4,13 +4,13 @@ SECTION = "devel/python" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" |
6 | 6 | ||
7 | SRC_URI += " file://0001-Fix-man-page-installation.patch" | 7 | SRC_URI[sha256sum] = "2c7377ff6a22ca136c795ae3dc3d0824696e5478d1e4940f2af75659b0d45454" |
8 | SRC_URI[sha256sum] = "d8b617f6610a73e46509de70dcf82f76861b79762ff602d546f4e80918ec81f3" | 8 | UPSTREAM_CHECK_PYPI_PACKAGE = "SCons" |
9 | |||
10 | PYPI_PACKAGE = "SCons" | ||
11 | 9 | ||
12 | inherit pypi python_setuptools_build_meta | 10 | inherit pypi python_setuptools_build_meta |
13 | 11 | ||
12 | S = "${WORKDIR}/SCons-${PV}" | ||
13 | |||
14 | RDEPENDS:${PN}:class-target = "\ | 14 | RDEPENDS:${PN}:class-target = "\ |
15 | python3-core \ | 15 | python3-core \ |
16 | python3-compression \ | 16 | python3-compression \ |
@@ -23,11 +23,6 @@ RDEPENDS:${PN}:class-target = "\ | |||
23 | python3-pprint \ | 23 | python3-pprint \ |
24 | " | 24 | " |
25 | 25 | ||
26 | do_install:append() { | ||
27 | install -d ${D}${mandir}/man1 | ||
28 | mv ${D}${prefix}/scons*.1 ${D}${mandir}/man1/ | ||
29 | } | ||
30 | |||
31 | do_install:append:class-native() { | 26 | do_install:append:class-native() { |
32 | create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' | 27 | create_wrapper ${D}${bindir}/scons SCONS_LIB_DIR='${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}' PYTHONNOUSERSITE='1' |
33 | } | 28 | } |