Source: rust-rustpython-parser
Version: 0.2.0-6
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
rust-rustpython-parser could not be built reproducibly.

This is because if the tests are run, an addition "python.rs" file
is shipped with the binary package... and, conversely, if the tests
are skipped, the binary package is missing this file.

A patch is attacehd that deletes this file if the tests are run,
ensuring that the package does not differ.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-10 11:31:53.072256899 -0800
--- b/debian/rules      2025-12-10 12:06:35.021522513 -0800
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
 %:
        dh $@ --buildsystem cargo
+
+execute_after_dh_auto_test:
+       rm -f python.rs

Reply via email to