Bug#862140: ofxstatement-plugins: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon May 8 21:46:14 UTC 2017
Source: ofxstatement-plugins
Version: 20170307
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that ofxstatement-plugins could not be built reproducibly:
--rw-r--r-- 2016-07-18 22:10:48.000000 ./usr/lib/python3/dist-packages/ofxstatement/plugins/tests/__init__.py
+-rw-r--r-- 2016-07-18 22:11:18.000000 ./usr/lib/python3/dist-packages/ofxstatement/plugins/tests/__init__.py
Patch attached that simply removes installation of the plugin tests; they
are not useful in the installed package AFAICT.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2017-05-08 22:32:13.375510870 +0100
--- b/debian/rules 2017-05-08 22:44:43.048412274 +0100
@@ -21,7 +21,9 @@
--force --root=$(CURDIR)/debian/ofxstatement-plugins \
--no-compile -O0 --install-layout=deb
test ! -e $</$<.README.rst || dh_installdocs $</$<.README.rst
-
+ # Don't install tests
+ find $(CURDIR)/debian/ofxstatement-plugins -type d -name 'tests' -print0 | \
+ xargs -0r rm -rf
plugin_test_% : %
cd $< && python3 setup.py test
More information about the Reproducible-bugs
mailing list