diff options
author | Tim Orling <ticotimo@gmail.com> | 2021-06-06 15:20:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-07 23:00:22 +0100 |
commit | 73f05a2c83a80b64a9e86c49a11c069cb3547267 (patch) | |
tree | 01426a3ec3a11aa3ed4baa231d6b04a10877e40c /meta/recipes-devtools | |
parent | 4882e7b98967556f1ca05fecf2e47cff6315735d (diff) | |
download | poky-73f05a2c83a80b64a9e86c49a11c069cb3547267.tar.gz |
python3-scons: upgrade 3.1.2 -> 4.1.0; simplify
* Drop UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX, the
default pypi.bbclass values work now.
* Drop scipts/ patch, no longer applies.
* Add patch to fix man page installation.
License-Update: Update compyright years
Changelog for 4.1.0:
https://pyup.io/changelogs/scons/#4.1.0
Changelog for 4.0.1:
https://pyup.io/changelogs/scons/#4.0.1
Changelog for 4.0.0:
https://pyup.io/changelogs/scons/#4.0.0
(From OE-Core rev: 6fd0e96fca004ea7ec3441326ef0a601f36703c6)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/python/python3-scons-native_4.1.0.bb (renamed from meta/recipes-devtools/python/python3-scons-native_3.1.2.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch | 46 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-scons_3.1.2.bb | 34 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-scons_4.1.0.bb | 27 |
4 files changed, 73 insertions, 34 deletions
diff --git a/meta/recipes-devtools/python/python3-scons-native_3.1.2.bb b/meta/recipes-devtools/python/python3-scons-native_4.1.0.bb index 9e127304d6..9e127304d6 100644 --- a/meta/recipes-devtools/python/python3-scons-native_3.1.2.bb +++ b/meta/recipes-devtools/python/python3-scons-native_4.1.0.bb | |||
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 new file mode 100644 index 0000000000..ff212b85ee --- /dev/null +++ b/meta/recipes-devtools/python/python3-scons/0001-Fix-man-page-installation.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 82be2b7b9758a2f62ee11931da674cd541076041 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 | MANIFEST.in | 2 +- | ||
14 | setup.cfg | 6 +++--- | ||
15 | 2 files changed, 4 insertions(+), 4 deletions(-) | ||
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 | |||
30 | diff --git a/setup.cfg b/setup.cfg | ||
31 | index 37e5204..677c00a 100644 | ||
32 | --- a/setup.cfg | ||
33 | +++ b/setup.cfg | ||
34 | @@ -56,9 +56,9 @@ console_scripts = | ||
35 | scons.tool.docbook = *.* | ||
36 | |||
37 | [options.data_files] | ||
38 | -. = build/doc/man/scons.1 | ||
39 | - build/doc/man/scons-time.1 | ||
40 | - build/doc/man/sconsign.1 | ||
41 | +. = scons.1 | ||
42 | + scons-time.1 | ||
43 | + sconsign.1 | ||
44 | |||
45 | [sdist] | ||
46 | dist-dir = build/dist | ||
diff --git a/meta/recipes-devtools/python/python3-scons_3.1.2.bb b/meta/recipes-devtools/python/python3-scons_3.1.2.bb deleted file mode 100644 index 12122131a5..0000000000 --- a/meta/recipes-devtools/python/python3-scons_3.1.2.bb +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | SUMMARY = "Software Construction tool (make/autotools replacement)" | ||
2 | HOMEPAGE = "https://github.com/SCons/scons" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-python3-scons-${PV};md5=e14e1b33428df24a40a782ae142785d0" | ||
6 | |||
7 | # pypi package does not have a valid license file | ||
8 | SRC_URI += "https://raw.githubusercontent.com/SCons/scons/${PV}/LICENSE;downloadfilename=LICENSE-python3-scons-${PV};name=license" | ||
9 | |||
10 | SRC_URI[md5sum] = "f9c4ad06dcf1427be95472eaf380c81a" | ||
11 | SRC_URI[sha256sum] = "8aaa483c303efeb678e6f7c776c8444a482f8ddc3ad891f8b6cdd35264da9a1f" | ||
12 | SRC_URI[license.md5sum] = "e14e1b33428df24a40a782ae142785d0" | ||
13 | SRC_URI[license.sha256sum] = "72ed889165fb28378cadac14552be4a959f1ebab6b148abb5dd2b49712c3c6f6" | ||
14 | |||
15 | S = "${WORKDIR}/scons-${PV}" | ||
16 | |||
17 | UPSTREAM_CHECK_URI = "http://scons.org/pages/download.html" | ||
18 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar" | ||
19 | |||
20 | inherit pypi setuptools3 | ||
21 | |||
22 | do_install_prepend() { | ||
23 | sed -i -e "1s,#!.*python.*,#!${USRBINPATH}/env python3," ${S}/script/* | ||
24 | } | ||
25 | |||
26 | RDEPENDS_${PN}_class-target = "\ | ||
27 | python3-core \ | ||
28 | python3-fcntl \ | ||
29 | python3-io \ | ||
30 | python3-json \ | ||
31 | python3-shell \ | ||
32 | python3-pickle \ | ||
33 | python3-pprint \ | ||
34 | " | ||
diff --git a/meta/recipes-devtools/python/python3-scons_4.1.0.bb b/meta/recipes-devtools/python/python3-scons_4.1.0.bb new file mode 100644 index 0000000000..5894a5ef3f --- /dev/null +++ b/meta/recipes-devtools/python/python3-scons_4.1.0.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Software Construction tool (make/autotools replacement)" | ||
2 | HOMEPAGE = "https://github.com/SCons/scons" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b94c6e2be9670c62b38f7118c12866d2" | ||
6 | |||
7 | SRC_URI += " file://0001-Fix-man-page-installation.patch" | ||
8 | SRC_URI[sha256sum] = "accb8035be2c9cfbab06471286eaeff86a10037a8064cf4ef4c3df04ea5a7387" | ||
9 | |||
10 | PYPI_PACKAGE = "SCons" | ||
11 | |||
12 | inherit pypi setuptools3 | ||
13 | |||
14 | RDEPENDS_${PN}_class-target = "\ | ||
15 | python3-core \ | ||
16 | python3-compression \ | ||
17 | python3-fcntl \ | ||
18 | python3-importlib-metadata \ | ||
19 | python3-io \ | ||
20 | python3-json \ | ||
21 | python3-shell \ | ||
22 | python3-pickle \ | ||
23 | python3-pkg-resources \ | ||
24 | python3-pprint \ | ||
25 | " | ||
26 | |||
27 | FILES_${PN}-doc += "${datadir}/scons*.1" | ||