File: 02-reproducible-build.patch

package info (click to toggle)
sphinxcontrib-mermaid 0.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 208 kB
  • sloc: python: 475; makefile: 15; sh: 8
file content (16 lines) | stat: -rw-r--r-- 554 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Make the build reproducible
Author: Chris Lamb <lamby@debian.org>
Last-Update: 2022-06-14
Forwarded: https://github.com/mgaitan/sphinxcontrib-mermaid/pull/86

--- sphinxcontrib-mermaid-0.7.1.orig/sphinxcontrib/autoclassdiag.py
+++ sphinxcontrib-mermaid-0.7.1/sphinxcontrib/autoclassdiag.py
@@ -46,7 +46,7 @@ def class_diagram(*cls_or_modules, full=
 
     return "classDiagram\n" + "\n".join(
             "  %s <|-- %s" % (a, b)
-                for a, b in inheritances
+                for a, b in sorted(inheritances)
             )