Source: golang-gonum-v1-plot
Version: 0.7.0-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
golang-gonum-v1-plot could not be built reproducibly.

This is because it ships generated test data, including PDFs with
timestamps in them.

I don't think they are needed in the package, so a patch is attached
that utilises DH_GOLANG_EXCLUDES to not install them.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-08-07 11:50:51.362562166 +0100
--- b/debian/rules      2020-08-07 12:00:59.778346811 +0100
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
 
+export DH_VERBOSE = 1
+export DH_GOLANG_EXCLUDES = /testdata/
+
 %:
        dh $@ --builddirectory=_build --buildsystem=golang --with=golang

Reply via email to