Source: python-pyvcf
Version: 0.6.8+git20170215.476169c-11
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-pyvcf could not be built reproducibly.
This was because it ships a different binary package depending
on whether the tests are run or not, which was caused in turn by the
testsuite not cleaning up the "data" directory, and some (or all)
of that was ending up in the binary package ... but only if the tests
were run.
Patch attached. However, if the binary package really does need these
files at runtime (eg. for autopkgtests), then the packaging will need
rejigging.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2025-11-21 10:08:48.807873179 -0800
--- b/debian/rules 2025-11-21 10:10:03.618995632 -0800
@@ -12,6 +12,7 @@
export PYBUILD_BEFORE_TEST = mkdir {build_dir}/vcf; \
cp -r {dir}/vcf/test {build_dir}/vcf/
+export PYBUILD_AFTER_TEST = rm -rfv {build_dir}/vcf/test
%:
dh $@ --buildsystem=pybuild