Source: python-lupa
Version: 2.4+dfsg-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-lupa could not be built reproducibly.

This is because the testsuite did not 100% clean up after itself.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-07 10:46:25.327871778 -0800
--- b/debian/rules      2025-11-07 10:56:37.503833189 -0800
@@ -11,6 +11,7 @@
 export PYBUILD_BEFORE_BUILD=rm -f lupa/_lupa.c
 export PYBUILD_BEFORE_TEST=mkdir {build_dir}/lupa ; cp -r {dir}/lupa/tests 
{build_dir}/lupa
 export PYBUILD_TEST_ARGS=lupa/tests/test.py -k 'not test_attrgetter_refcycle 
and not test_no_overflow and not test_pyfunc_refcycle and not 
test_runtime_cleanup'
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/lupa/tests
 
 %:
        dh $@ --buildsystem=pybuild

Reply via email to