kitty/kitty-no-docs.patch

31 lines
948 B
Diff
Raw Normal View History

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