summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bscript4
-rw-r--r--numpy/core/bscript4
-rw-r--r--numpy/fft/bscript2
-rw-r--r--numpy/lib/bscript2
-rw-r--r--numpy/linalg/bscript2
-rw-r--r--numpy/random/bscript2
6 files changed, 8 insertions, 8 deletions
diff --git a/bscript b/bscript
index a4186419d..61abe0d02 100644
--- a/bscript
+++ b/bscript
@@ -73,7 +73,7 @@ def remove_flag_prevalue(name, flag):
else:
break
-@hooks.pre_configure()
+@hooks.pre_configure
def pre_configure(context):
conf = context.waf_context
@@ -127,7 +127,7 @@ def process_write_config(self):
tsk.set_outputs(output)
return tsk
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
diff --git a/numpy/core/bscript b/numpy/core/bscript
index 4ed264c78..961c3844e 100644
--- a/numpy/core/bscript
+++ b/numpy/core/bscript
@@ -250,7 +250,7 @@ def check_complex(conf):
for t in C99_COMPLEX_TYPES:
NUMPYCONFIG_SYM.append(('DEFINE_NPY_HAVE_%s' % numpy.build_utils.waf.sanitize_string(t), ''))
-@pre_configure()
+@pre_configure
def configure(context):
conf = context.waf_context
@@ -377,7 +377,7 @@ def process_umath_generator(self):
return tsk
from os.path import join as pjoin
-@pre_build()
+@pre_build
def pbuild(context):
bld = context.waf_context
diff --git a/numpy/fft/bscript b/numpy/fft/bscript
index 67a367950..b59f3b007 100644
--- a/numpy/fft/bscript
+++ b/numpy/fft/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def build(context):
bld = context.waf_context
diff --git a/numpy/lib/bscript b/numpy/lib/bscript
index 1b98d2fa2..45699a335 100644
--- a/numpy/lib/bscript
+++ b/numpy/lib/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def pbuild(context):
bld = context.waf_context
def builder_compiled_base(extension):
diff --git a/numpy/linalg/bscript b/numpy/linalg/bscript
index 684e29101..889deb693 100644
--- a/numpy/linalg/bscript
+++ b/numpy/linalg/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def pbuild(context):
bld = context.waf_context
diff --git a/numpy/random/bscript b/numpy/random/bscript
index 371f30a2a..85f191f2d 100644
--- a/numpy/random/bscript
+++ b/numpy/random/bscript
@@ -4,7 +4,7 @@ from bento.commands.hooks \
import \
pre_build
-@pre_build()
+@pre_build
def build(context):
bld = context.waf_context