--- a/debian/patches/reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible_build.patch 2015-12-26 03:42:06.069491737 +0000 @@ -0,0 +1,20 @@ +--- hy-0.11.0.orig/docs/conf.py ++++ hy-0.11.0/docs/conf.py +@@ -14,6 +14,7 @@ + import os + import sys + import time ++import datetime + sys.path.append(os.path.abspath("..")) + + import hy +@@ -46,7 +47,8 @@ master_doc = 'index' + + # General information about the project. + project = u'hy' +-copyright = u'2013-%s, Paul Tagliamonte' % time.strftime('%Y') ++build_date = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))) ++copyright = u'2013-%s, Paul Tagliamonte' % build_date.year + + # The version info for the project you're documenting, acts as replacement for + # |version| and |release|, also used in various other places throughout the --- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/series 2015-12-26 03:42:03.185440315 +0000 @@ -0,0 +1 @@ +reproducible_build.patch