commit:     b527a9485713d6d6d73d94d3db42a2d09a0dabb1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 27 08:30:17 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Nov  3 06:36:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b527a948

x11-terms/kitty-terminfo: sync live ebuild

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../kitty-terminfo/kitty-terminfo-9999.ebuild      | 34 ++++++----------------
 1 file changed, 9 insertions(+), 25 deletions(-)

diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild 
b/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild
index 5166ea870a2..af803f4eecd 100644
--- a/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild
+++ b/x11-terms/kitty-terminfo/kitty-terminfo-9999.ebuild
@@ -1,39 +1,23 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+inherit git-r3
 
-inherit python-any-r1 xdg git-r3
-
-DESCRIPTION="Terminfo for kitty, an OpenGL-based terminal emulator"
-HOMEPAGE="https://github.com/kovidgoyal/kitty";
+DESCRIPTION="Terminfo for kitty, a GPU-based terminal emulator"
+HOMEPAGE="https://sw.kovidgoyal.net/kitty/";
 EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git";
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="debug"
-
-DEPEND="${PYTHON_DEPS}"
+RESTRICT="test" # intended to be ran on the full kitty package
 
-PATCHES=(
-       "${FILESDIR}"/kitty-terminfo-setup-0.20.1.patch
-)
+BDEPEND="sys-libs/ncurses"
 
-# kitty-terminfo is a split package from kitty that only installs the terminfo
-# file. As tests are designed to be run with the whole package compiled they
-# would fail in this case.
-RESTRICT="test"
-
-src_compile() {
-       "${EPYTHON}" setup.py \
-               --verbose $(usex debug --debug "") \
-               --libdir-name $(get_libdir) \
-               linux-terminfo || die "Failed to compile kitty."
-}
+src_compile() { :; }
 
 src_install() {
-       insinto /usr
-       doins -r linux-package/*
+       dodir /usr/share/terminfo
+       tic -xo "${ED}"/usr/share/terminfo terminfo/kitty.terminfo || die
 }

Reply via email to