[OE-core] [PATCH 0/4] Move SCons to Python 3

Tim Orling timothy.t.orling at linux.intel.com
Fri Jun 7 23:47:50 UTC 2019


python-scons and python-scons-native are perhaps the last python2 only
recipes in oe-core. With Python 2 going EOL in or before 2020, it's time
to switch everything to Python 3.

I updated scons.bbclass to use python3-scons-native. Tested build with serf.

I also added a simple oeqa/runtime test while I was at it.

I did not drop python-scons and python-scons-native, although we should
at some point soon.

[YOCTO #13381]

The following changes since commit 666f6192aaa9e847ad0d920a487b82d984b58d26:

  gnutls: Use the sysconfdir variable for the ca-certificates path (2019-06-07 09:10:34 +0100)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib timo/python3-scons
  http://cgit.openembedded.org//log/?h=timo/python3-scons

Tim Orling (4):
  python3-scons-{native}: add recipe for v3.0.5
  scons.bbclass: use python3-scons
  serf: switch to python3-scons-native
  oeqa/runtime: add simple test for scons

 meta/classes/scons.bbclass                    |  2 +-
 meta/conf/distro/include/maintainers.inc      |  2 +
 meta/lib/oeqa/runtime/cases/scons.py          | 37 +++++++++++++++++++
 meta/lib/oeqa/runtime/files/SConstruct        |  1 +
 meta/lib/oeqa/runtime/files/hello.c           |  5 +++
 .../python/python3-scons-native_3.0.5.bb      |  8 ++++
 .../python/python3-scons_3.0.5.bb             | 29 +++++++++++++++
 meta/recipes-support/serf/serf_1.3.9.bb       |  2 +-
 8 files changed, 84 insertions(+), 2 deletions(-)
 create mode 100644 meta/lib/oeqa/runtime/cases/scons.py
 create mode 100644 meta/lib/oeqa/runtime/files/SConstruct
 create mode 100644 meta/lib/oeqa/runtime/files/hello.c
 create mode 100644 meta/recipes-devtools/python/python3-scons-native_3.0.5.bb
 create mode 100644 meta/recipes-devtools/python/python3-scons_3.0.5.bb

-- 
2.20.1



More information about the Openembedded-core mailing list