From efdc5871d0ba68e364c2d7675a0b4b0965d0130c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 2 Apr 2020 19:23:06 +0200 Subject: Update to waf 2.0.19 --- Context.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'Context.py') diff --git a/Context.py b/Context.py index e3305fa..ec3cb66 100644 --- a/Context.py +++ b/Context.py @@ -6,20 +6,30 @@ Classes and functions enabling the command system """ -import os, re, imp, sys +import os, re, sys from waflib import Utils, Errors, Logs import waflib.Node +if sys.hexversion > 0x3040000: + import types + class imp(object): + new_module = lambda x: types.ModuleType(x) +else: + import imp + # the following 3 constants are updated on each new release (do not touch) -HEXVERSION=0x2001200 +HEXVERSION=0x2001300 """Constant updated on new releases""" -WAFVERSION="2.0.18" +WAFVERSION="2.0.19" """Constant updated on new releases""" -WAFREVISION="314689b8994259a84f0de0aaef74d7ce91f541ad" +WAFREVISION="e83405712e95b47c040763fdfa468c04dfe72e4b" """Git revision when the waf version is updated""" +WAFNAME="waf" +"""Application name displayed on --help""" + ABI = 20 """Version of the build data cache file format (used in :py:const:`waflib.Context.DBFILE`)""" -- cgit v1.2.1