Bug#1122224: python-openstep-plist: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 8 23:10:57 GMT 2025


Source: python-openstep-plist
Version: 0.5.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because if the tests are *not* run, then the binary package
will contain a _version.py file. A patch is attached that will remove
this file in the PYBUILD_BEFORE_INSTALL.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-08 14:51:41.100054065 -0800
--- b/debian/rules	2025-12-08 15:09:11.072232068 -0800
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export PYBUILD_BEFORE_INSTALL := rm -rv {build_dir}/openstep_plist/_version.py
+
 %:
 	dh $@ --with python3 --buildsystem=pybuild
 


More information about the Reproducible-bugs mailing list