[Python-modules-team] Bug#808459: pywavelets: please make the build reproducible
Hi Daniele, > Looking at > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pywavelets.html > > it's not clear to me if the package is now reproducible or not, > icon seem to say the package is reproducible. The icon is correct! Closing bug (in bcc). Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#808459: pywavelets: please make the build reproducible
Hello Chris, On Tuesday, January 10, 2017 10:01:33 AM CET Chris Lamb wrote: > Friendly ping on this :) I'm so sorry for forgetting to update this issue! :/ When I made the last upload I also used diffoscope on 2 build made changing "export-dir" option and it seemed to be OK. Also pywt/__config__.py doesn't exist anymore in upstream source: Since I was not sure if this issue could be closed I leaved it opened but with the intention to ask here... but I forgot to write... :( Looking at https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pywavelets.html it's not clear to me if the package is now reproducible or not, icon seem to say the package is reproducible. Inside d/rules I use: LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") SPHINXOPTS := -D html_last_updated_fmt="$(BUILD_DATE)" Please, can you take a look at it? Many thanks! Kind regards, -- Daniele Tricoli 'eriol' https://mornie.org signature.asc Description: This is a digitally signed message part. ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#808459: pywavelets: please make the build reproducible
> Would you consider applying this patch and uploading? Friendly ping on this :) Best wishes, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#808459: pywavelets: please make the build reproducible
Dear Maintainer, > Source: pywavelets > Version: 0.2.0-1 > Tags: patch There hasn't seem to be any update on this bug in 238 days, in which time the Reproducible Builds effort has come on a long way. :) Would you consider applying this patch and uploading? Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#808459: pywavelets: please make the build reproducible
Source: pywavelets Version: 0.3.0-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Hi, Whilst working on the "reproducible builds" effort [0], we noticed that pywavelets could not be built reproducibly. The attached patch removes varying timestamps from the build system. Once applied, pywavelets can be built reproducibly using our reproducible toolchain. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- --- a/debian/patches/03-source_date_epoch.patch 1970-01-01 01:00:00.0 +0100 --- b/debian/patches/03-source_date_epoch.patch 2015-12-20 10:44:22.922882957 + @@ -0,0 +1,26 @@ +--- pywavelets-0.3.0.orig/doc/source/conf.py pywavelets-0.3.0/doc/source/conf.py +@@ -11,10 +11,14 @@ + # All configuration values have a default; values that are commented out + # serve to show the default. + ++import os + import re ++import time + import datetime + import jinja2.filters + ++build_date = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time( ++ + # If extensions (or modules to document with autodoc) are in another directory, + # add these directories to sys.path here. If the directory is relative to the + # documentation root, use os.path.abspath to make it absolute, like shown here. +@@ -40,7 +44,7 @@ master_doc = 'index' + + # General information about the project. + project = 'PyWavelets' +-copyright = jinja2.filters.do_mark_safe('2006-%s, https://groups.google.com/forum/#!forum/pywavelets;>The PyWavelets Developers' % datetime.date.today().year) ++copyright = jinja2.filters.do_mark_safe('2006-%s, https://groups.google.com/forum/#!forum/pywavelets;>The PyWavelets Developers' % build_date.year) + + # The version info for the project you're documenting, acts as replacement for + # |version| and |release|, also used in various other places throughout the --- a/debian/patches/series 2015-12-20 10:36:07.735457306 + --- b/debian/patches/series 2015-12-20 10:44:15.587118136 + @@ -1,3 +1,4 @@ 01-get_version_from_source.patch 02-remove_privacy_offenders.patch do_not_rewrite_git_revision_on_build.patch +03-source_date_epoch.patch ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team