Bug#884714: gtranslator: Please do not ship .pyo and .pyc files

Chris Lamb lamby at debian.org
Mon Dec 18 15:47:55 UTC 2017


Source: gtranslator
Version: 2.91.7-5
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that gtranslator could not be built reproducibly.

This is due to shipping .pyc and .pyo files — did you not spot the
Lintian error? :-)

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-12-18 15:14:12.616962795 +0000
--- b/debian/rules	2017-12-18 15:22:42.359100739 +0000
@@ -23,5 +23,5 @@
 	dh_girepository --remaining-packages
 
 override_dh_install:
-	find debian \( -name '*.la' -o -name '*.a' \) -delete
+	find debian \( -name '*.la' -o -name '*.a' -o -name '*.py[co]' \) -delete
 	dh_install


More information about the pkg-gnome-maintainers mailing list