Source: python-openstep-plist
Version: 0.5.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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
 

Reply via email to