Source: ofxstatement-plugins
Version: 20170307
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / chris-lamb.co.uk
`-
--- 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