Debian Codegraph @

debian/patches/0003-Reproducible-build.patch

raw
1 From: Chris Lamb <[email protected]>
2 Date: Wed, 31 Jul 2024 01:53:59 +0200
3 Subject: Reproducible build
4
5 Make the build reproducible
6
7 Last-Update: 2024-07-29
8 ---
9 doc/en/conf.py | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/doc/en/conf.py b/doc/en/conf.py
13 index c795b4a..8dd82cd 100644
14 --- a/doc/en/conf.py
15 +++ b/doc/en/conf.py
16 @@ -268,7 +268,7 @@ issues_github_path = "pytest-dev/pytest"
17 # https://docs.readthedocs.io/en/stable/reference/environment-variables.html#environment-variable-reference
18 # https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#including-content-based-on-tags
19
20 -IS_RELEASE_ON_RTD = (
21 +IS_RELEASE_ON_RTD = True or (
22 os.getenv("READTHEDOCS", "False") == "True"
23 and os.environ["READTHEDOCS_VERSION_TYPE"] == "tag"
24 )