68acf6613d
- Fix the condition expressions that are used to build the doc. Currently we want the doc on TW only and disabled on Leap since sphinx has not been update yet (including in Leap 15.4). - Fix build on TW * Dependency on python3-sphinx-inline-tabs was missing. It was needed to build the doc - Fix build on Leap * python3-importlib-resources is named python3-importlib_resources on Leap :-/ - Rebased kitty-no-docs.patch OBS-URL: https://build.opensuse.org/request/show/936517 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=91
31 lines
948 B
Diff
31 lines
948 B
Diff
From 555b8f4232d7b1f35b83966d7a879f26f806059b Mon Sep 17 00:00:00 2001
|
|
From: Franck Bui <fbui@suse.com>
|
|
Date: Wed, 8 Dec 2021 14:26:36 +0100
|
|
Subject: [PATCH 1/1] Disable build of documentation
|
|
|
|
Leap doesn't ship a recent enough version of sphinx for building kitty
|
|
documentation.
|
|
---
|
|
setup.py | 5 -----
|
|
1 file changed, 5 deletions(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 98873dc6..00965423 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -944,11 +944,6 @@ def c(base_path: str, **kw: object) -> None:
|
|
|
|
|
|
def create_linux_bundle_gunk(ddir: str, libdir_name: str) -> None:
|
|
- if not os.path.exists('docs/_build/html'):
|
|
- make = "gmake" if is_freebsd else "make"
|
|
- run_tool([make, 'docs'])
|
|
- copy_man_pages(ddir)
|
|
- copy_html_docs(ddir)
|
|
for (icdir, ext) in {'256x256': 'png', 'scalable': 'svg'}.items():
|
|
icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', icdir, 'apps')
|
|
safe_makedirs(icdir)
|
|
--
|
|
2.31.1
|
|
|