Removed date from f2py output.
This makes f2py reproducible, helping with caching and everything
else.
Note: we still have problems building the fortran deterministically.
Change-Id: Ib625de57d2e0bfd8c2d0efeb896ffaa53e3994b0
diff --git a/debian/slycot.BUILD b/debian/slycot.BUILD
index 2629e16..39941b9 100644
--- a/debian/slycot.BUILD
+++ b/debian/slycot.BUILD
@@ -27,7 +27,7 @@
'slycot/src/transform.pyf',
],
outs = ['_fortranwrappermodule.c'],
- cmd = '/usr/bin/python /usr/bin/f2py $(location :slycot/src/_fortranwrapper.pyf) --include-paths external/slycot_repo/slycot/src/ --coutput $(OUTS)',
+ cmd = '/usr/bin/python /usr/bin/f2py $(location :slycot/src/_fortranwrapper.pyf) --include-paths external/slycot_repo/slycot/src/ --coutput $(OUTS) && sed "s/Generation date.*/Generation date: redacted/" -i $(OUTS)',
restricted_to = ['@//tools:k8'],
)