View | Details | Raw Unified | Return to bug 1562
Collapse All | Expand All

(-)a/bindings/python/wscript (-2 / +14 lines)
 Lines 9-16   import sys Link Here 
9
from waflib import Task, Options, Configure, TaskGen, Logs, Build, Utils, Errors
9
from waflib import Task, Options, Configure, TaskGen, Logs, Build, Utils, Errors
10
from waflib.Errors import WafError
10
from waflib.Errors import WafError
11
11
12
feature  = TaskGen.feature
12
# feature  = TaskGen.feature
13
after = TaskGen.after
13
# after = TaskGen.after
14
14
15
## https://launchpad.net/pybindgen/
15
## https://launchpad.net/pybindgen/
16
REQUIRED_PYBINDGEN_VERSION = (0, 16, 0, 825)
16
REQUIRED_PYBINDGEN_VERSION = (0, 16, 0, 825)
 Lines 328-333   class apiscan_task(Task.TaskBase): Link Here 
328
    def display(self):
328
    def display(self):
329
        return 'api-scan-%s\n' % (self.target,)
329
        return 'api-scan-%s\n' % (self.target,)
330
330
331
    def uid(self):
332
        try:
333
            return self.uid_
334
        except AttributeError:
335
            m = Utils.md5()
336
            up = m.update
337
            up(self.__class__.__name__.encode())
338
            up(self.curdirnode.abspath().encode())
339
            up(self.target)
340
            self.uid_ = m.digest()
341
            return self.uid_
342
331
    def run(self):
343
    def run(self):
332
        top_builddir = self.bld.bldnode.abspath()
344
        top_builddir = self.bld.bldnode.abspath()
333
        module_path = get_module_path(self.bld, self.module)
345
        module_path = get_module_path(self.bld, self.module)

Return to bug 1562