python3-astor: switch to python3

As python2 reached end of life(EOL), so convert rtrip.py to python3.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mingli Yu
2020-12-23 10:47:25 +08:00
committed by Khem Raj
parent d361fb7d3b
commit 191add187c
2 changed files with 39 additions and 1 deletions
@@ -4,7 +4,9 @@ SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=561205fdabc3ec52cae2d30815b8ade7"
SRC_URI = "git://github.com/berkerpeksag/astor.git "
SRC_URI = "git://github.com/berkerpeksag/astor.git \
file://0001-rtrip.py-convert-to-python3.patch \
"
SRCREV ?= "c7553c79f9222e20783fe9bd8a553f932e918072"
inherit setuptools3