Source: heudiconv
Version: 0.5.3-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that heudiconv could not be built reproducibly.
This is due to a Python warning embedding the build path which then
ends up in the help output and thus the binary package (!).
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] 🍥 chris-lamb.co.uk
`-
--- a/debian/rules 2019-02-24 19:09:44.359548384 +0100
--- b/debian/rules 2019-02-24 19:24:46.455032291 +0100
@@ -31,7 +31,7 @@
PYTHONPATH=./debian/heudiconv/usr/lib/python2.7/dist-packages \
help2man -n 'DICOM converter for organizing brain imaging data into
structured directory layouts' \
-N --no-discard-stderr \
- ./debian/heudiconv/usr/bin/heudiconv >| build/heudiconv.1
+ "python -W ignore ./debian/heudiconv/usr/bin/heudiconv" >|
build/heudiconv.1
find debian -iname *.pyc -delete
clean::