Michael R. Crusoe pushed to branch master at Debian Med / toil

Commits:
79a1d34d by Michael R. Crusoe at 2019-03-21T02:48:15Z
Make the build reproducible

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/reproducible-build.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+toil (3.18.0-3) UNRELEASED; urgency=medium
+
+  * Make the build reproducible, patch from la...@debian.org; thanks!
+    (Closes: #925191)
+
+ -- Michael R. Crusoe <michael.cru...@gmail.com>  Wed, 20 Mar 2019 21:46:34 
-0500
+
 toil (3.18.0-2) unstable; urgency=medium
 
   * Remove errant recommend on python3-futures and depends on python3-pytest*


=====================================
debian/patches/reproducible-build.patch
=====================================
@@ -0,0 +1,24 @@
+Subject: Make the build reproducible
+From: Chris Lamb <la...@debian.org>
+Forwarded: https://github.com/DataBiosphere/toil/pull/2562
+
+--- 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


=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@ adjust_to_newer_cwltool
 fix_tests
 soften-pytest-depends
 soften-mesos-deps
+reproducible-build.patch



View it on GitLab: 
https://salsa.debian.org/med-team/toil/commit/79a1d34d23af4a39a8bbfeab97b20978dff45134

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/toil/commit/79a1d34d23af4a39a8bbfeab97b20978dff45134
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
debian-med-com...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to