Source: python-bayespy
Version: 0.6.4+ds-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

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

This was because the package generated an .egg-info directory under
/usr/lib/python3/dist-packages, for example:

   /usr/lib/python3/dist-packages/bayespy-0.6.4.dev20260331.egg-info

.. which encodes the current build date (eg. "20260331")

Patch attached that deletes this .egg-info directory, which is not very
useful in the binary package.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-04-01 11:18:25.734265553 -0700
--- b/debian/rules      2026-04-01 11:25:05.175555144 -0700
@@ -8,3 +8,6 @@
 
 %:
        dh $@ --buildsystem=pybuild
+
+execute_after_dh_auto_install:
+       rm -rf debian/python3-bayespy/usr/lib/python*/dist-packages/*.egg-info

Reply via email to