Bug#1088742: python-aiohomekit: please make the build reproducible
Chris Lamb
lamby at debian.org
Sat Nov 30 10:51:09 GMT 2024
Source: python-aiohomekit
Version: 3.2.1-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-aiohomekit could not be built reproducibly.
Similar to #1088353, this was because a call to remove the offending
file (within override_dh_fixperms for some reason) did not take into
account different Python installation targets.
A patch is attached that uses PYBUILD_AFTER_TEST to remove this test
artifact.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2024-11-30 10:44:34.482411800 +0000
--- b/debian/rules 2024-11-30 10:47:00.418991324 +0000
@@ -4,10 +4,7 @@
include /usr/share/openstack-pkg-tools/pkgos.make
export PYBUILD_TEST_ARGS= -v
+export PYBUILD_AFTER_TEST = rm -rfv {build_dir}/tests-pairing.json
%:
dh $@ --buildsystem=pybuild --with python3
-
-override_dh_fixperms:
- dh_fixperms
- rm $(CURDIR)/debian/python3-aiohomekit/usr/lib/python3/dist-packages/tests-pairing.json
More information about the Reproducible-bugs
mailing list