summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-Ensure-deterministic-dict-ordering.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:23:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-05 16:23:58 +0000
commit1c6e9bae3de9fbf5747a825564856cfe7458945b (patch)
tree6a3e9c853f6dc496345481e16e4b54feef21676c /debian/patches/0001-Ensure-deterministic-dict-ordering.patch
parentAdding upstream version 0.7.16. (diff)
downloadalabaster-1c6e9bae3de9fbf5747a825564856cfe7458945b.tar.xz
alabaster-1c6e9bae3de9fbf5747a825564856cfe7458945b.zip
Adding debian version 0.7.16-0.1.debian/0.7.16-0.1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/0001-Ensure-deterministic-dict-ordering.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0001-Ensure-deterministic-dict-ordering.patch b/debian/patches/0001-Ensure-deterministic-dict-ordering.patch
new file mode 100644
index 0000000..ce00222
--- /dev/null
+++ b/debian/patches/0001-Ensure-deterministic-dict-ordering.patch
@@ -0,0 +1,25 @@
+From: "Jeremy T. Bouse" <jbouse@debian.org>
+Date: Sun, 13 Jun 2021 14:17:07 -0400
+Subject: Ensure deterministic dict ordering to ensure builds are
+ reproducible.
+
+See https://reproducible-builds.org/
+
+Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
+---
+ alabaster/navigation.html | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/alabaster/navigation.html b/alabaster/navigation.html
+index 760dcc9..f854061 100644
+--- a/alabaster/navigation.html
++++ b/alabaster/navigation.html
+@@ -3,7 +3,7 @@
+ {% if theme_extra_nav_links %}
+ <hr />
+ <ul>
+- {% for text, uri in theme_extra_nav_links.items() %}
++ {% for text, uri in theme_extra_nav_links.items()|sort %}
+ <li class="toctree-l1"><a href="{{ uri }}">{{ text }}</a></li>
+ {% endfor %}
+ </ul>