From: RISCi_ATOM Date: Wed, 29 Dec 2021 20:15:49 +0000 (-0500) Subject: base: Update python requirements X-Git-Tag: v1.5.8~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dc6d69b65d6003957ea74df9d3456322a4f0c92d;p=librecmc%2Flibrecmc.git base: Update python requirements --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index 29960b148f..c8c59e0d9f 100644 --- a/include/prereq-build.mk +++ b/include/prereq-build.mk @@ -145,11 +145,13 @@ $(eval $(call SetupHostCommand,perl,Please install Perl 5.x, \ $(eval $(call CleanupPython2)) $(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \ + python3.10 -V 2>&1 | grep 'Python 3', \ + python3.9 -V 2>&1 | grep 'Python 3', \ 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]\.?')) + python3 -V 2>&1 | grep -E 'Python 3\.([5-9]|10)\.?')) $(eval $(call TestHostCommand,python3-jsmin, \ Please install the jsmin Python module, \