1
0
Fork 0

Adding patch to replace non-functioning imports with static values for the time being in sphinx config.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-12 13:07:32 +01:00
parent d3f471a866
commit 56f5b83541
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,18 @@
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Replacing non-functioning imports with static values for the time being.
diff -Naurp terminaltables.orig/docs/conf.py terminaltables/docs/conf.py
--- terminaltables.orig/docs/conf.py
+++ terminaltables/docs/conf.py
@@ -11,9 +11,9 @@ author = '@Robpol86'
copyright = '{}, {}'.format(time.strftime('%Y'), author)
html_last_updated_fmt = '%c {}'.format(time.tzname[time.localtime().tm_isdst])
master_doc = 'index'
-project = __import__('setup').NAME
+project = 'terminaltables'
pygments_style = 'friendly'
-release = version = __import__('setup').VERSION
+release = version = '3.1'
templates_path = ['_templates']
extensions = list()

View file

@ -2,3 +2,4 @@ debian/0001-google-analytics.patch
debian/0002-html-output.patch
debian/0003-python-shebang.patch
debian/0004-quiet-stdout.patch
debian/0005-sphinx-meta.patch