From: Thomas Weißschuh Date: Thu, 14 Nov 2019 15:41:10 +0000 (+0100) Subject: build: prereq: add support for Python 3.8 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2066ee09d99441a67a5f23b6e38baeadc9f92e15;p=openwrt%2Fstaging%2Fzorun.git build: prereq: add support for Python 3.8 Add support for Python 3.8 which was released Oct. 14, 2019. Signed-off-by: Thomas Weißschuh [added missing commit description, simplified version check] Signed-off-by: Petr Štetiar --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index d73f0040c3..a711ae33f7 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -144,12 +144,14 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ $(eval $(call CleanupPython2)) $(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \ + python3.8 -V 2>&1 | grep 'Python 3', \ python3.7 -V 2>&1 | grep 'Python 3', \ python3.6 -V 2>&1 | grep 'Python 3', \ python3.5 -V 2>&1 | grep 'Python 3', \ python3 -V 2>&1 | grep -E 'Python 3\.[5-9]\.?')) $(eval $(call SetupHostCommand,python3,Please install Python >= 3.5, \ + python3.8 -V 2>&1 | grep 'Python 3', \ python3.7 -V 2>&1 | grep 'Python 3', \ python3.6 -V 2>&1 | grep 'Python 3', \ python3.5 -V 2>&1 | grep 'Python 3', \