Source: comix
Version: 4.0.4-1
Severity: important
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [0], we have noticed
that comix 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], hence the severity.

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, comix 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
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2015-08-31 08:58:40.163251104 +0100
--- b/debian/rules      2015-08-31 09:01:08.957302416 +0100
@@ -31,6 +31,7 @@
        # Add here commands to install the package into debian/comix.
        mkdir -p $(CURDIR)/debian/comix/usr
        python install.py install --dir $(CURDIR)/debian/comix/usr --no-mime
+       find $(CURDIR)/debian/comix/usr/share/comix -type f -name '*.pyc' 
-delete
        install mime/comicthumb $(CURDIR)/debian/comix/usr/bin/comicthumb
        install -d $(CURDIR)/debian/comix/usr/share/mime/packages
        install -m 644 mime/comix.xml 
$(CURDIR)/debian/comix/usr/share/mime/packages/comix.xml
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to