From e71f641e74f7728686bf14f8c45306aeb810baf4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 21 Sep 2022 04:53:39 +0200 Subject: Adding patch to replace non-functioning imports with static values for the time being in sphinx config. Signed-off-by: Daniel Baumann --- debian/patches/debian/0005-sphinx-meta.patch | 18 ++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 19 insertions(+) create mode 100644 debian/patches/debian/0005-sphinx-meta.patch diff --git a/debian/patches/debian/0005-sphinx-meta.patch b/debian/patches/debian/0005-sphinx-meta.patch new file mode 100644 index 0000000..300124e --- /dev/null +++ b/debian/patches/debian/0005-sphinx-meta.patch @@ -0,0 +1,18 @@ +Author: Daniel Baumann +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() + diff --git a/debian/patches/series b/debian/patches/series index 00072e4..c705a79 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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 -- cgit v1.2.3