From 8b321d2cd88076da03c5a959462b5f418907480a Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Wed, 2 Jan 2019 18:48:39 +0100 Subject: [PATCH] kitty: update to 0.13.2. --- .../kitty/patches/python-compile-workers.patch | 17 +++++++++-------- srcpkgs/kitty/template | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/srcpkgs/kitty/patches/python-compile-workers.patch b/srcpkgs/kitty/patches/python-compile-workers.patch index 6deb052e8d7..2ea8d8ebe74 100644 --- a/srcpkgs/kitty/patches/python-compile-workers.patch +++ b/srcpkgs/kitty/patches/python-compile-workers.patch @@ -1,11 +1,12 @@ ---- setup.py -+++ setup.py -@@ -584,7 +584,7 @@ def compile_python(base_path): +Reason: Apparently doesn't work with more build jobs +--- setup.py.orig 2019-01-16 07:04:11.515988522 +0100 ++++ setup.py 2019-01-16 07:04:24.905987494 +0100 +@@ -594,7 +594,7 @@ for f in files: if f.rpartition('.')[-1] in ('pyc', 'pyo'): os.remove(os.path.join(root, f)) -- compileall.compile_dir(base_path, ddir='', force=True, optimize=1, quiet=1, workers=num_workers) -+ compileall.compile_dir(base_path, ddir='', force=True, optimize=1, quiet=1, workers=1) - - - def package(args, for_bundle=False, sh_launcher=False): +- kwargs = dict(ddir='', force=True, optimize=1, quiet=1, workers=num_workers) ++ kwargs = dict(ddir='', force=True, optimize=1, quiet=1, workers=1) + if hasattr(py_compile, 'PycInvalidationMode'): + kwargs['invalidation_mode'] = py_compile.PycInvalidationMode.UNCHECKED_HASH + compileall.compile_dir(base_path, **kwargs) \ No newline at end of file diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template index 47c17714585..26e3a3fb53e 100644 --- a/srcpkgs/kitty/template +++ b/srcpkgs/kitty/template @@ -1,8 +1,7 @@ # Template file for 'kitty' pkgname=kitty -version=0.12.3 +version=0.13.2 revision=1 -pycompile_version="$py3_ver" pycompile_dirs="usr/lib/kitty" hostmakedepends="ncurses pkg-config python3 wayland-devel wayland-protocols" makedepends="gettext-devel glfw-devel harfbuzz-devel libxkbcommon-devel @@ -14,7 +13,8 @@ license="GPL-3.0-or-later" homepage="https://sw.kovidgoyal.net/kitty/" changelog="https://sw.kovidgoyal.net/kitty/changelog.html" distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz" -checksum=60d8cc0bb9b3a83756916985ee41776d6b02ab4262c1e7b4546a451632b48298 +checksum=84699311cd99989fa428326264df193f9c5e449afa1d399ece324e269c5b9726 +pycompile_version="$py3_ver" do_build() { if [ "$CROSS_BUILD" ]; then @@ -29,7 +29,7 @@ do_build() { } do_install() { - vsconf ${DESTDIR}/usr/share/doc/kitty/html/_downloads/kitty.conf + vsconf $(find ${DESTDIR}/usr/share/doc/kitty/html/_downloads/ -name "kitty.conf") } kitty-terminfo_package() {