Bug#997949: python-duniterpy: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Oct 27 14:59:08 BST 2021


Source: python-duniterpy
Version: 0.62.0-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
python-duniterpy could not be built reproducibly.

This is because it does not call dh_sphinxdoc (eg. via
--with=sphinxdoc) that will remove these files automatically. (It
looks like this was attempted but only partly implemented: there is a
binary dependency on ${sphinxdoc:Depends} for the python-duniterpy-doc
package, for example. But the explicit --with=sphinxdoc is seemingly
required.)

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2021-10-27 14:55:48.222950647 +0100
--- b/debian/rules	2021-10-27 14:56:27.522958319 +0100
@@ -11,4 +11,4 @@
 endif
 
 %:
-	dh $@ --buildsystem=pybuild
+	dh $@ --buildsystem=pybuild --with=sphinxdoc


More information about the Reproducible-bugs mailing list