Skip to content

Move SCons to Python 3

Tim Orling openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4python3-scons-{native}: add recipe for v3.0.5meta/conf/distro/include/maintainers.inc meta/recipes-devtools/python/python3-scons-native_3.0.5.bb meta/recipes-devtools/python/python3-scons_3.0.5.bb+39 -01 reply
2/4scons.bbclass: use python3-sconsmeta/classes/scons.bbclass+1 -111 replies
3/4serf: switch to python3-scons-nativemeta/recipes-support/serf/serf_1.3.9.bb+1 -13 replies
4/4oeqa/runtime: add simple test for sconsmeta/lib/oeqa/runtime/cases/scons.py meta/lib/oeqa/runtime/files/SConstruct meta/lib/oeqa/runtime/files/hello.c+43 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Move SCons to Python 3

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
Signature · 1 line
2.20.1