Bug#891264: shark: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Feb 23 22:45:11 UTC 2018


Source: shark
Version: 3.1.4+ds1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that shark could not be built reproducibly. This is because it
includes the full path to the original source in "TODO" entries
in docs.

Patch attached that disables this `todo_link_only` [1].

 [0] https://reproducible-builds.org/
 [1] https://sources.debian.org/src/sphinx/1.6.6-1/sphinx/ext/todo.py/#L151-L159


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/doc/sphinx_pages/conf.py.in b/doc/sphinx_pages/conf.py.in
index fd86bf9..f49ba52 100644
--- a/doc/sphinx_pages/conf.py.in
+++ b/doc/sphinx_pages/conf.py.in
@@ -13,6 +13,7 @@ mathjax_path = 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-
 #delay nicked from https://groups.google.com/forum/#!msg/mathjax-users/J-36V22-G9Q/AW3ncCbJzS8J
 
 todo_include_todos = True
+todo_link_only = True
 
 #set up doxylink tag file
 print 'current working directory', os.path.abspath(os.path.curdir)


More information about the debian-science-maintainers mailing list