Source: python-django-waffle
Version: 4.2.0-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-django-waffle could not be built reproducibly.

This is because it ships different files depending on whether the
testsuite is run or not.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-07 10:49:13.818576353 -0800
--- b/debian/rules      2025-11-07 11:27:31.714667863 -0800
@@ -6,6 +6,7 @@
 export PYBUILD_NAME=django-waffle
 export PYBUILD_BEFORE_TEST=cp -r {dir}/test_settings.py {dir}/test_app 
{build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/test_settings.py 
{build_dir}/test_app
+export PYBUILD_AFTER_BUILD=rm -rf {build_dir}/test_app
 
 %:
        dh $@ --with python3,sphinxdoc --buildsystem=pybuild

Reply via email to