Source: lxml
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build timestamp is embedded in various html documentation:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/lxml.html

  ./usr/share/doc/python-lxml/html/FAQ.html

  Generated·on:·2022-08-12.
  vs.
  Generated·on:·2021-07-10.

The attached patch fixes this by adjusting the rst2html arguments to use
--no-datestamp instead of --date in doc/mkhtml.py.


This patch does not fix all reproducibility issues in lxml (e.g. build
paths), but with this patch applied, lxml should become reproducible
again on the tests.reproducible-builds.org in the testing suite.


Thanks for maintaining lxml!


live well,
  vagrant
From ce24e7825f1da92b91704ef13ba337de917165b3 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sun, 11 Jul 2021 16:39:05 +0000
Subject: [PATCH] doc/mkhtml.py: Do not embed timestamps in html documentation.

---
 doc/mkhtml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/mkhtml.py b/doc/mkhtml.py
index c652335..3542ba7 100644
--- a/doc/mkhtml.py
+++ b/doc/mkhtml.py
@@ -19,7 +19,7 @@ RST2HTML_OPTIONS = " ".join([
     '--no-toc-backlinks',
     '--strip-comments',
     '--language en',
-    '--date',
+    '--no-datestamp',
     ])
 
 XHTML_NS = 'http://www.w3.org/1999/xhtml'
-- 
2.20.1

Attachment: signature.asc
Description: PGP signature

Reply via email to