kumquat-buildroot/support
Andrey Smirnov 61fcd08247 scripts/pycompile: Accomodate latest Python 3 codebase
As of the version 3.6.0 compile_dir() call will treat its 'quiet'
argument as a full blown integer rather than a boolean value and perform
integer comparison operations such as '<' or '>='.

To account for that convert ReportProblem type to be a true derivative
of built-in int() and override all of int's rich comparison operators in
order to be able to "sniff" for PyCompileError in all possible use-cases

The integer value ReportProblem pretends to be is teremined by class
variable VALUE which is set to 1.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-19 15:04:32 +01:00
..
dependencies Revert "dependencies/cmake: blacklist cmake 3.7" 2017-03-01 22:13:49 +01:00
download support/download: make the git wrapper more robust 2016-10-25 23:49:35 +02:00
gnuconfig
kconfig
legal-info
libtool
misc core/pkg-cmake: better way to pass our CMAKE_MODULE_PATH 2017-03-05 21:34:49 +01:00
scripts scripts/pycompile: Accomodate latest Python 3 codebase 2017-03-19 15:04:32 +01:00