[Reproducible-builds] Bug#797505: cloudprint: Should not ship .pyc files

Chris Lamb lamby at debian.org
Mon Aug 31 07:58:07 UTC 2015


Source: cloudprint
Version: 0.13-1
Severity: important
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [0], we have noticed
that cloudprint could not be built reproducibly as it ships pyc files
instead of using an install-time helper to compile them.

This is additonally against Policy 3.7 [1].

The attached patch removes these files from the build system, but there
is really no obvious reason not to switch to dh-python, etc. If there
is, please document it in debian/rules or debian/README.Source.

Once applied, cloudprint can be built reproducibly in our reproducible
toolchain.

 [0] https://wiki.debian.org/ReproducibleBuilds
 [1]
 https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-byte_compilation


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cloudprint.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150831/cd1b640f/attachment.txt>


More information about the Reproducible-builds mailing list