Source: lmfit-py
Version: 0.9.11+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because we didn't remove modelresult_1.sav from the Python
2.x package either. Patch attached that does the removal in debian/
rules, avoiding a second ".remove" file AFAICT.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-
--- a/debian/python3-lmfit.remove       2019-02-12 08:51:04.022297415 +0100
--- b/debian/python3-lmfit.remove       1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-python3.7/dist-packages/modelresult_1.sav
--- a/debian/rules      2019-02-12 08:51:04.022297415 +0100
--- b/debian/rules      2019-02-12 08:54:57.180590620 +0100
@@ -33,6 +33,7 @@
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        find .pybuild -name build -type d -exec ln -s $(CURDIR)/examples \{\} \;
        dh_auto_test
+       find -type f -name 'modelresult_*.sav' -delete
 endif
 
 override_dh_installdocs-indep:

Reply via email to