[OE-core] [PATCH] python-scons*: upgrade to 3.0.0

Jose Lamego jose.a.lamego at linux.intel.com
Wed Oct 18 20:24:11 UTC 2017


Please disregard this update.

Scons 3.0.0 introduced a regression where SConscripts containing py2
print statements would cause syntax errors even when executing scons
with python 2.7.

This issue is already being fixed in
upstream:https://github.com/SConsProject/scons/commit/2e0de3c55f22b3eaa7767b69740b898f3d2f46bf

and other projects are aware also, serf for example:

http://svn.apache.org/viewvc?view=revision&revision=1811083


I will submit a new update commit when a fixed SCons is available.

[Patchwork-Status: Rejected]


On 10/11/2017 04:17 PM, Jose Lamego wrote:
> Both python-scons and python-scons-native need to be upgraded to latest
> upstream version.
>
> LIC_FILES_CHKSUM changed due to updated year in date, but rest of file
> remain the same.
> Following dependencies were added to enable appropriate package usage:
> python-shell, python-pprint and python-importlib.
>
> These changes were tested in qemux86 with core-image-minimal.
>
> Signed-off-by: Jose Lamego <jose.a.lamego at linux.intel.com>
> ---
>  ...python-scons-native_2.5.1.bb => python-scons-native_3.0.0.bb} | 0
>  .../python/{python-scons_2.5.1.bb => python-scons_3.0.0.bb}      | 9 ++++++---
>  2 files changed, 6 insertions(+), 3 deletions(-)
>  rename meta/recipes-devtools/python/{python-scons-native_2.5.1.bb => python-scons-native_3.0.0.bb} (100%)
>  rename meta/recipes-devtools/python/{python-scons_2.5.1.bb => python-scons_3.0.0.bb} (61%)
>
> diff --git a/meta/recipes-devtools/python/python-scons-native_2.5.1.bb b/meta/recipes-devtools/python/python-scons-native_3.0.0.bb
> similarity index 100%
> rename from meta/recipes-devtools/python/python-scons-native_2.5.1.bb
> rename to meta/recipes-devtools/python/python-scons-native_3.0.0.bb
> diff --git a/meta/recipes-devtools/python/python-scons_2.5.1.bb b/meta/recipes-devtools/python/python-scons_3.0.0.bb
> similarity index 61%
> rename from meta/recipes-devtools/python/python-scons_2.5.1.bb
> rename to meta/recipes-devtools/python/python-scons_3.0.0.bb
> index 3f43856..be33dfa 100644
> --- a/meta/recipes-devtools/python/python-scons_2.5.1.bb
> +++ b/meta/recipes-devtools/python/python-scons_3.0.0.bb
> @@ -1,13 +1,13 @@
>  SUMMARY = "Software Construction tool (make/autotools replacement)"
>  SECTION = "devel/python"
>  LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a885dff6d14e4cd876d9008a09a42de"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=46ddf66004e5be5566367cb525a66fc6"
>  SRCNAME = "scons"
>  
>  SRC_URI = "https://files.pythonhosted.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
>  
> -SRC_URI[md5sum] = "3eac81e5e8206304a9b4683c57665aa4"
> -SRC_URI[sha256sum] = "c8de85fc02ed1a687b1f2ac791eaa0c1707b4382a204f17d782b5b111b9fdf07"
> +SRC_URI[md5sum] = "7ca558edaaa1942fe38f3105ca2400fb"
> +SRC_URI[sha256sum] = "aa5afb33c2bbd33c311e47e912412195739e9ffb2e933534a31f85fba8f3470e"
>  
>  UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/SCons/"
>  
> @@ -20,4 +20,7 @@ RDEPENDS_${PN} = "\
>    python-io \
>    python-json \
>    python-subprocess \
> +  python-shell \
> +  python-pprint \
> +  python-importlib \
>    "

-- 
Jose Lamego | OTC Embedded Platform & Tools | GDC




More information about the Openembedded-core mailing list