Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

REF: use new hook format.

  • Loading branch information...
commit ee665f4c44a3ef7e42ea666e52bc89df340d5186 1 parent 1d39495
@cournape cournape authored
View
6 bscript
@@ -102,7 +102,7 @@ def startup(context):
def options(context):
register_options(context)
-@hooks.pre_configure()
+@hooks.pre_configure
def pre_configure(context):
opts = context.waf_options_context
opts.load("compiler_cxx")
@@ -145,7 +145,7 @@ def remove_flag_prevalue(name, flag):
else:
break
-@hooks.post_configure()
+@hooks.post_configure
def post_configure(context):
conf = context.waf_context
@@ -226,7 +226,7 @@ def post_configure(context):
npymath_info = get_pkg_info("npymath")
conf.parse_flags(npymath_info.cflags() + " " + npymath_info.libs(), "NPYMATH")
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/fftpack/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pbuild(context):
bld = context.waf_context
View
2  scipy/integrate/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/interpolate/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/lib/blas/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
f2py = bld.tools["f2py"]
View
2  scipy/lib/lapack/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/linalg/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
f2py = bld.tools["f2py"]
View
2  scipy/optimize/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/signal/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/sparse/linalg/dsolve/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/sparse/linalg/dsolve/umfpack/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/sparse/linalg/eigen/arpack/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/sparse/linalg/isolve/bscript
@@ -2,7 +2,7 @@ import sys
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/sparse/sparsetools/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/spatial/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/special/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
View
2  scipy/stats/bscript
@@ -1,6 +1,6 @@
from bento.commands import hooks
-@hooks.pre_build()
+@hooks.pre_build
def pre_build(context):
bld = context.waf_context
Please sign in to comment.
Something went wrong with that request. Please try again.