kitty: update to 0.13.2.

This commit is contained in:
Rasmus Thomsen 2019-01-02 18:48:39 +01:00 committed by Helmut Pozimski
parent 76e82ca71c
commit 8b321d2cd8
2 changed files with 13 additions and 12 deletions

View File

@ -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)

View File

@ -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() {