forked from pool/kitty
- Add: kitty-no-docs.patch:
There is no python-sphincs >= 1.7 for Leal 15.0. After receiving many requests for a package for this version, I decided to ship one without docs for it. OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=16
This commit is contained in:
parent
b19fdd6bd5
commit
ad2445a398
24
kitty-no-docs.patch
Normal file
24
kitty-no-docs.patch
Normal file
@ -0,0 +1,24 @@
|
||||
There is no python-sphinx >= 1.7 for Leap 15.0.
|
||||
After many requests to provide a package for Leap, I decided to ship a version
|
||||
without docs.
|
||||
diff -urEbwB kitty-0.12.3/setup.py kitty-0.12.3.new/setup.py
|
||||
--- kitty-0.12.3/setup.py 2018-09-29 05:45:40.000000000 +0200
|
||||
+++ kitty-0.12.3.new/setup.py 2018-11-27 09:55:13.030071308 +0100
|
||||
@@ -625,8 +625,6 @@
|
||||
safe_makedirs(launcher_dir)
|
||||
build_linux_launcher(args, launcher_dir, for_bundle, sh_launcher, args.for_freeze)
|
||||
if not is_macos: # {{{ linux desktop gunk
|
||||
- copy_man_pages(ddir)
|
||||
- copy_html_docs(ddir)
|
||||
icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256', 'apps')
|
||||
safe_makedirs(icdir)
|
||||
shutil.copy2('logo/kitty.png', icdir)
|
||||
@@ -813,8 +811,6 @@
|
||||
)
|
||||
elif args.action == 'linux-package':
|
||||
build(args, native_optimizations=False)
|
||||
- if not os.path.exists(os.path.join(base, 'docs/_build/html')):
|
||||
- run_tool(['make', 'docs'])
|
||||
package(args)
|
||||
elif args.action == 'osx-bundle':
|
||||
build(args, native_optimizations=False)
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 27 08:59:28 UTC 2018 - mvetter@suse.com
|
||||
|
||||
- Add: kitty-no-docs.patch:
|
||||
There is no python-sphincs >= 1.7 for Leal 15.0.
|
||||
After receiving many requests for a package for this version,
|
||||
I decided to ship one without docs for it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 23 13:48:08 UTC 2018 - mvetter@suse.com
|
||||
|
||||
|
@ -24,6 +24,7 @@ License: GPL-3.0-only
|
||||
Group: System/X11/Terminals
|
||||
URL: https://github.com/kovidgoyal/kitty
|
||||
Source: https://github.com/kovidgoyal/kitty/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: kitty-no-docs.patch
|
||||
BuildRequires: ImageMagick-devel
|
||||
BuildRequires: Mesa-libGL-devel
|
||||
BuildRequires: fontconfig-devel
|
||||
@ -41,7 +42,9 @@ BuildRequires: pkgconfig(dbus-1)
|
||||
# for 'tic'
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: python3-Sphinx >= 1.7
|
||||
%endif
|
||||
BuildRequires: python3-devel >= 3.5
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: wayland-protocols-devel
|
||||
@ -55,6 +58,10 @@ bracketed paste and so on. And which can be controlled by scripts.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if 0%{?sle_version} == 150000 && 0%{?is_opensuse}
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
find . -type f -exec sed -i "s/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/" {} +
|
||||
|
||||
%build
|
||||
@ -74,7 +81,9 @@ python3 setup.py --verbose linux-package --prefix %{buildroot}%{_prefix}
|
||||
%dir %{_datadir}/icons/hicolor/256x256/
|
||||
%{_datadir}/icons/hicolor/256x256/apps/
|
||||
%{_datadir}/terminfo/x/xterm-kitty
|
||||
%if 0%{?suse_version} > 1500
|
||||
%{_mandir}/man1/kitty.1%{?ext_man}
|
||||
%{_datadir}/doc/kitty
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user