--- a/debian/patches/reproducible-build.patch 1969-12-31 19:00:00.000000000 -0500 --- b/debian/patches/reproducible-build.patch 2019-03-20 22:21:10.095700424 -0400 @@ -0,0 +1,24 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2019-03-20 + +--- toil-3.18.0.orig/docs/conf.py ++++ toil-3.18.0/docs/conf.py +@@ -18,6 +18,7 @@ import inspect + import re + from datetime import datetime + import toil.version ++import time + + # This makes the modules located in docs/vendor/sphinxcontrib available to import + sphinxPath = os.path.abspath(os.path.join(os.path.pardir, os.path.dirname('docs/vendor/sphinxcontrib/'))) +@@ -100,7 +101,8 @@ master_doc = 'index' + + # General information about the project. + project = u'Toil' +-copyright = u'2015 – %i UCSC Computational Genomics Lab' % datetime.now().year ++build_date = datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))) ++copyright = u'2015 – %i UCSC Computational Genomics Lab' % build_date.year + author = u'UCSC Computational Genomics Lab' + + # The version info for the project you're documenting, acts as replacement for --- a/debian/patches/series 2019-03-20 22:18:48.271032509 -0400 --- b/debian/patches/series 2019-03-20 22:21:08.851751370 -0400 @@ -8,3 +8,4 @@ fix_tests soften-pytest-depends soften-mesos-deps +reproducible-build.patch