Bug#1055919: python-ansible-pygments: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Nov 14 09:31:14 GMT 2023
Source: python-ansible-pygments
Version: 0.1.1-6
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-ansible-pygments could not be built reproducibly.
This is because the binary package included .pytest_cache and
.test-results directories. Patch attached that removes these after
running the tests.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-11-14 09:25:37.237065158 +0000
--- b/debian/rules 2023-11-14 09:28:11.611381883 +0000
@@ -4,3 +4,6 @@
%:
dh $@ --buildsystem=pybuild
+
+execute_after_dh_auto_test:
+ find .pybuild -type d \( -name .pytest_cache -or -name .test-results \) -print0 | xargs -0r rm -rfv
More information about the Reproducible-bugs
mailing list