Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty-terminfo/
Date: Wed, 14 Jul 2021 06:25:34
Message-Id: 1626243920.c26656f74017cb16c80512cb849a81d698e1b38f.juippis@gentoo
1 commit: c26656f74017cb16c80512cb849a81d698e1b38f
2 Author: end222 <pabloorduna98 <AT> gmail <DOT> com>
3 AuthorDate: Thu Jul 1 21:05:40 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 14 06:25:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c26656f7
7
8 x11-terms/kitty-terminfo: bump to 0.21.2
9
10 Signed-off-by: Pablo Orduna <pabloorduna98 <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/21504
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 x11-terms/kitty-terminfo/Manifest | 1 +
15 .../kitty-terminfo/kitty-terminfo-0.21.2.ebuild | 41 ++++++++++++++++++++++
16 2 files changed, 42 insertions(+)
17
18 diff --git a/x11-terms/kitty-terminfo/Manifest b/x11-terms/kitty-terminfo/Manifest
19 index 8a8bf738a61..e1a1774bb2a 100644
20 --- a/x11-terms/kitty-terminfo/Manifest
21 +++ b/x11-terms/kitty-terminfo/Manifest
22 @@ -1,3 +1,4 @@
23 DIST kitty-0.19.3.tar.xz 3269628 BLAKE2B b3b673f8ad06baf770b03bcee87b2f405e1ff09d0fa5c6a232fd8df651351a428c8fbd9e2d0dc90ed44a0d6632192bea83650388ee73ebc3b523f51e51168006 SHA512 d1eea7f909c9492542650a83a149fd279c44380cf10387759f10caad57cd4dbabeac1ce84e8142bfa47266ec2562dfa3766ce08e2aee4d8e0ebacea165f101e4
24 DIST kitty-0.20.1.tar.xz 3449932 BLAKE2B aed9a250fbc7005cd67fd22bfc33de845bea7e39a5561e6957b744f03a5438945f9739ca7066a93889144a5d0289185f337ef4d487c754cba37f242030f1c46a SHA512 19dfa66eb2a2115877b25fbff0ba7a81071bff00c732236f20342aeb619cca88ae4a4e8ce4e73908ac7d7d12fca5232a76e0167754f2e658af02e442cf5ba0cd
25 DIST kitty-0.20.3.tar.xz 3487500 BLAKE2B 49397ac2aef10e5fc41e351af65050ad510e58915392e6b1b8c022db31f2e5e81ac2cce645468ff213dafb609a30d43934b7388b93227fbbba5af7aa35be74e8 SHA512 9e9d81696bcb0d3894c04b08bc52ccf7aaf533125b3ecfb4c894b8d42dbf8511239c49f1c977d81872ce49fc6b3aa8e8c92b9c944bd31fe59fce6e3750295e58
26 +DIST kitty-0.21.2.tar.xz 4341440 BLAKE2B dd97d65ae6eb39b5676cc809d3b5ca48b0fcbbb4bb9cc1d212efeb1b5fb584f61decca9d286fdee6f4512aa4d56e08b3a19be70afa2f0155c8c1815e29fcd7ed SHA512 0ae41dfd61fc70746e8ec2d37c043dea7ceb70205aca056fd156348d4b9a2f6aac520c60de08fb5a3cd9bb908efdd2ad8129bbc01b69e5908f2976e5393269df
27
28 diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-0.21.2.ebuild b/x11-terms/kitty-terminfo/kitty-terminfo-0.21.2.ebuild
29 new file mode 100644
30 index 00000000000..be10def6c28
31 --- /dev/null
32 +++ b/x11-terms/kitty-terminfo/kitty-terminfo-0.21.2.ebuild
33 @@ -0,0 +1,41 @@
34 +# Copyright 1999-2021 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +PYTHON_COMPAT=( python3_{7,8,9} )
40 +
41 +inherit python-any-r1 toolchain-funcs xdg
42 +
43 +DESCRIPTION="Terminfo for kitty, an OpenGL-based terminal emulator"
44 +HOMEPAGE="https://github.com/kovidgoyal/kitty"
45 +SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz"
46 +S="${WORKDIR}/kitty-${PV}"
47 +
48 +LICENSE="GPL-3"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="debug"
52 +
53 +DEPEND="${PYTHON_DEPS}"
54 +
55 +PATCHES=(
56 + "${FILESDIR}"/kitty-terminfo-setup-0.20.1.patch
57 +)
58 +
59 +# kitty-terminfo is a split package from kitty that only installs the terminfo
60 +# file. As tests are designed to be run with the whole package compiled they
61 +# would fail in this case.
62 +RESTRICT="test"
63 +
64 +src_compile() {
65 + "${EPYTHON}" setup.py \
66 + --verbose $(usex debug --debug "") \
67 + --libdir-name $(get_libdir) \
68 + linux-terminfo || die "Failed to compile kitty."
69 +}
70 +
71 +src_install() {
72 + insinto /usr
73 + doins -r linux-package/*
74 +}