Source: sphinxcontrib-jsmath
Version: 1.0.1-2
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
sphinxcontrib-jsmath could not be built reproducibly.

This is because it uses the tag_date feature of Python eggs which gets
encoded into the binary package in a number of ways (eg. directory
names, etc.)

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible_build.patch   1969-12-31 16:00:00.000000000 
-0800
--- b/debian/patches/reproducible_build.patch   2021-11-24 08:08:45.984989045 
-0800
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2021-11-24
+
+--- sphinxcontrib-jsmath-1.0.1.orig/setup.cfg
++++ sphinxcontrib-jsmath-1.0.1/setup.cfg
+@@ -1,6 +1,6 @@
+ [egg_info]
+ tag_build = .dev
+-tag_date = true
++tag_date = false
+ 
+ [aliases]
+ release = egg_info -Db ''
--- a/debian/patches/series     2021-11-24 08:03:57.056819762 -0800
--- b/debian/patches/series     2021-11-24 08:08:45.256988641 -0800
@@ -1 +1,2 @@
 fix_test_warnings.patch
+reproducible_build.patch

Reply via email to