1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
8 inherit python-any-r1 toolchain-funcs xdg git-r3
10 DESCRIPTION="Terminfo for kitty, an OpenGL-based terminal emulator"
11 HOMEPAGE="https://github.com/kovidgoyal/kitty"
12 EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
18 DEPEND="${PYTHON_DEPS}"
21 "${FILESDIR}"/kitty-terminfo-setup-0.17.2.patch
24 # kitty-terminfo is a split package from kitty that only installs the terminfo
25 # file. As tests are designed to be run with the whole package compiled they
26 # would fail in this case.
30 "${EPYTHON}" setup.py \
31 --verbose $(usex debug --debug "") \
32 --libdir-name $(get_libdir) \
33 linux-terminfo || die "Failed to compile kitty."
38 doins -r linux-package/*