#1121078 namecheap: please make the build reproducible

#1121078#5
Date:
2025-11-20 15:08:13 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
namecheap could not be built reproducibly.

This was because it ships a different binary package depending
on whether the tests are run or not. This is caused by the
package copying namecheap_test.py into the pybuild {build_dir}
in PYBUILD_BEFORE_TEST and, as it is not otherwise removed later,
this file ends up in the binary .deb... but only if the tests
are run.

Patch attached that removes this file in PYBUILD_AFTER_TEST.

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


Regards,