diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-09-21 02:53:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-09-21 02:53:56 +0000 |
commit | e71f641e74f7728686bf14f8c45306aeb810baf4 (patch) | |
tree | 424755c866948d34b4f9ae1e574ae0b0ad58c644 | |
parent | Updating debhelper docs file. (diff) | |
download | terminaltables-e71f641e74f7728686bf14f8c45306aeb810baf4.tar.xz terminaltables-e71f641e74f7728686bf14f8c45306aeb810baf4.zip |
Adding patch to replace non-functioning imports with static values for the time being in sphinx config.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/patches/debian/0005-sphinx-meta.patch | 18 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 19 insertions, 0 deletions
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 <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() + 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 |