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
10 DESCRIPTION="Terminfo for kitty, an OpenGL-based terminal emulator"
11 HOMEPAGE="https://github.com/kovidgoyal/kitty"
12 SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz"
13 S="${WORKDIR}/kitty-${PV}"
17 KEYWORDS="~amd64 ~x86"
20 DEPEND="${PYTHON_DEPS}"
23 "${FILESDIR}"/kitty-terminfo-setup-0.17.2.patch
26 # kitty-terminfo is a split package from kitty that only installs the terminfo
27 # file. As tests are designed to be run with the whole package compiled they
28 # would fail in this case.
32 "${EPYTHON}" setup.py \
33 --verbose $(usex debug --debug "") \
34 --libdir-name $(get_libdir) \
35 linux-terminfo || die "Failed to compile kitty."
40 doins -r linux-package/*