Package: spectacle Version: 0.22-3 Tags: patch Severity: wishlist User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Cheetah embeds two timestamps into generated Python code by default which makes the build not reproducible [0]. Patch attached that adds addTimestampsToCompilerOutput=False. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/spectacle/dsc/Makefile b/spectacle/dsc/Makefile index ce2f89e..ed2c6f7 100644 --- a/spectacle/dsc/Makefile +++ b/spectacle/dsc/Makefile @@ -8,7 +8,7 @@ TEMPLATE_MODS=$(patsubst %.tmpl,%.py,$(TEMPLATES)) all: $(TEMPLATE_MODS) %.py: %.tmpl - $(CHEETAH) compile --settings='useStackFrames=False' $< + $(CHEETAH) compile --settings='useStackFrames=False,addTimestampsToCompilerOutput=False' $< cp $@ __init__.py clean: diff --git a/spectacle/spec/Makefile b/spectacle/spec/Makefile index ce2f89e..ed2c6f7 100644 --- a/spectacle/spec/Makefile +++ b/spectacle/spec/Makefile @@ -8,7 +8,7 @@ TEMPLATE_MODS=$(patsubst %.tmpl,%.py,$(TEMPLATES)) all: $(TEMPLATE_MODS) %.py: %.tmpl - $(CHEETAH) compile --settings='useStackFrames=False' $< + $(CHEETAH) compile --settings='useStackFrames=False,addTimestampsToCompilerOutput=False' $< cp $@ __init__.py clean: