#1121075 virulencefinder: please make the build reproducible

#1121075#5
Date:
2025-11-20 15:04:12 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
virulencefinder 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 by the
packaging overriding dh_auto_test and therefore effectively
disabling PYBUILD_AFTER_TEST.

Patch attached that moves the "rm -rf" call from the (currently
ignored PYBUILD_AFTER_TEST) to inside override_dh_auto_test.

 [0] https://reproducible-builds.org/


Regards,