diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 18:28:56 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 13:59:46 +0000 |
commit | cf5c44ac611c2c2657e6fd3c1f723bcb20b812dd (patch) | |
tree | dc0853a1cfb7a13720dbce83ad0a659a572a0ba3 /meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch | |
parent | aa458b5fdb8d5d0ac93ced3b198bef2daa4e24b4 (diff) | |
download | openembedded-core-cf5c44ac611c2c2657e6fd3c1f723bcb20b812dd.tar.gz openembedded-core-cf5c44ac611c2c2657e6fd3c1f723bcb20b812dd.tar.bz2 openembedded-core-cf5c44ac611c2c2657e6fd3c1f723bcb20b812dd.zip |
python-scons: upgrade to v3.0.1; use pypi.bbclass
* Simplify recipe by using pypi.bbclass
* Drop patch for __future__ print_function
- fixed upstream:
https://github.com/SConsProject/scons/pull/1/commits/4c199d06e76afb9379e76942d0f68caa57f42509
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch')
-rw-r--r-- | meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch b/meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch deleted file mode 100644 index b1a790219e..0000000000 --- a/meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 885aabdb313685405737112dcb7d7774eee6d879 Mon Sep 17 00:00:00 2001 -From: Thomas Berg <merlin66b@gmail.com> -Date: Thu, 19 Oct 2017 14:02:21 -0500 -Subject: [PATCH] SConscript: Support python2 print statements - -This fixes a regression introduced in scons-3.0.0, where -SConscripts containing python 2 print statements would cause -syntax errors even when executing scons with python 2.7. - -This ensures backward compatibility, allowing users to build -legacy code with scons-3.0.0 without having to patch it. - -Taken from -https://github.com/SConsProject/scons/commit/2e0de3c55f22b3eaa7767b69740b898f3d2f46bf - -Upstream-Status: Accepted - -Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com> ---- - engine/SCons/Script/SConscript.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/engine/SCons/Script/SConscript.py b/engine/SCons/Script/SConscript.py -index bc05540..332d1fa 100644 ---- a/engine/SCons/Script/SConscript.py -+++ b/engine/SCons/Script/SConscript.py -@@ -5,8 +5,6 @@ files. - - """ - --from __future__ import print_function -- - # - # Copyright (c) 2001 - 2017 The SCons Foundation - # --- -2.7.4 - |