Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/
Date: Wed, 02 Mar 2022 10:07:37
Message-Id: 1646214828.8716d1bed1b12ace961e2d3943d22ef0208919b4.ionen@gentoo
1 commit: 8716d1bed1b12ace961e2d3943d22ef0208919b4
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 09:47:16 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 09:53:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8716d1be
7
8 x11-terms/kitty: drop 0.24.2
9
10 0.24.3 has several regression fixes, so .2 is being dropped
11 as next stable candidate as well.
12
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 x11-terms/kitty/Manifest | 2 -
16 x11-terms/kitty/kitty-0.24.2.ebuild | 128 ------------------------------------
17 2 files changed, 130 deletions(-)
18
19 diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest
20 index e2ebe6adc9ca..ce511a9f2a26 100644
21 --- a/x11-terms/kitty/Manifest
22 +++ b/x11-terms/kitty/Manifest
23 @@ -1,5 +1,3 @@
24 DIST kitty-0.23.1.tar.xz 4444184 BLAKE2B f452e338fb72f723f2c028f90c20654cf80c5ee1aff924954f81f16445c9f4c10c77bd67d47ae5564b45496012dd1b7de447cdf3974b6913a39d170749878a73 SHA512 2d0c822e6bfca41b0a5e5e71e62f5073792b10c236287a509a6c790e19d098205c8719dbcb4aa630abbbaa3d44d6c9986c13efde7a9556772a89709383a0fe94
25 -DIST kitty-0.24.2.tar.xz 4601672 BLAKE2B 6e253863d81f2ef04f5d185cfe4379fe08818992a12a06da2ce2b0958912c4a0dc164b2ac6e8e74e383716e7040b2390bd1123ab4d8d282ede602dfea5cc756f SHA512 6d49b20dbd96ed0a1ed49a4523b65593c547ea2fec46f4c2557e26cdb5048ebaadb2c2118c7a2dd346f83ecab2d0a341d2322ae37ebe49184e22055581c631e7
26 -DIST kitty-0.24.2.tar.xz.sig 566 BLAKE2B f6f179a90acd2572549bc16e42ad637cb5d35e7488050e97fb285cc55b2cf04d1a5188949cc3172401090e2bcabcd239879f07acfef513090d5e1dd6688098a3 SHA512 6b415e87bf1f076e32da61cb7a64c3fd6e3a17ff8606cbfef8f92cfaa6b38123472a827ed4e8ff3cd54e8a74bd328e98b29104fdf18eca6e25bb1b170add3180
27 DIST kitty-0.24.3.tar.xz 4614252 BLAKE2B 04c9904e20aae0ed12d41dc01ea4fbb5e36430e50087821845c0bd3e6d8dd0ab2a090f8ebff8fd66fe9f2b0a3efe52f0434008b4484cbe27a58b05c6e4f56d73 SHA512 2b1482164fb1aabfa2f775f24d0ffbbbd1e8a85cf114a2daa411379ea8dbcea6ae5f361997132fb4d773fed8adeec4c04ffb4e615a470cefeb794d8a39c94c0a
28 DIST kitty-0.24.3.tar.xz.sig 566 BLAKE2B 1b1f99fef62a12863d7bda33f24e2273385b71653e90641b6ee1b3fd9543fe46fab5962751f30553dacf5b35e23334abbddb22ba1924fff6a878164f94bc9102 SHA512 1658bac350f92e9cdefe16ed1bffd61b5ba5e3ced82982ebfde34365095bf381fe5b0732388209688b6082e27f0b61e85e6f962d894e842994b47fdd64552026
29
30 diff --git a/x11-terms/kitty/kitty-0.24.2.ebuild b/x11-terms/kitty/kitty-0.24.2.ebuild
31 deleted file mode 100644
32 index 22dc6f82a916..000000000000
33 --- a/x11-terms/kitty/kitty-0.24.2.ebuild
34 +++ /dev/null
35 @@ -1,128 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=8
40 -
41 -PYTHON_COMPAT=( python3_{8..10} )
42 -inherit optfeature python-single-r1 toolchain-funcs xdg
43 -
44 -if [[ ${PV} == 9999 ]] ; then
45 - inherit git-r3
46 - EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
47 -else
48 - inherit verify-sig
49 - SRC_URI="
50 - https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
51 - verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )"
52 - VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg"
53 - KEYWORDS="~amd64 ~ppc64 ~x86"
54 -fi
55 -
56 -DESCRIPTION="Fast, feature-rich, GPU-based terminal"
57 -HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
58 -
59 -LICENSE="GPL-3"
60 -SLOT="0"
61 -IUSE="+X debug test transfer wayland"
62 -REQUIRED_USE="
63 - || ( X wayland )
64 - ${PYTHON_REQUIRED_USE}"
65 -RESTRICT="!X? ( test ) !test? ( test ) !transfer? ( test ) !wayland? ( test )"
66 -
67 -RDEPEND="
68 - ${PYTHON_DEPS}
69 - media-libs/fontconfig
70 - media-libs/freetype:2
71 - media-libs/harfbuzz:=
72 - media-libs/lcms:2
73 - media-libs/libglvnd[X?]
74 - media-libs/libpng:=
75 - sys-apps/dbus
76 - sys-libs/zlib:=
77 - x11-libs/libxkbcommon[X?]
78 - x11-misc/xkeyboard-config
79 - ~x11-terms/kitty-shell-integration-${PV}
80 - ~x11-terms/kitty-terminfo-${PV}
81 - X? ( x11-libs/libX11 )
82 - transfer? ( net-libs/librsync:= )
83 - wayland? ( dev-libs/wayland )"
84 -DEPEND="
85 - ${RDEPEND}
86 - X? (
87 - x11-base/xorg-proto
88 - x11-libs/libXcursor
89 - x11-libs/libXi
90 - x11-libs/libXinerama
91 - x11-libs/libXrandr
92 - )
93 - wayland? ( dev-libs/wayland-protocols )"
94 -BDEPEND="
95 - ${PYTHON_DEPS}
96 - sys-libs/ncurses
97 - virtual/pkgconfig
98 - test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )
99 - wayland? ( dev-util/wayland-scanner )"
100 -[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
101 -
102 -PATCHES=(
103 - "${FILESDIR}"/${PN}-0.23.1-flags.patch
104 -)
105 -
106 -src_prepare() {
107 - default
108 -
109 - sed -i "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" setup.py || die
110 -
111 - if use !transfer; then
112 - sed -i 's/rs_cflag =/& []#/;/files.*rsync/d' setup.py || die
113 - rm -r kittens/transfer || die
114 - fi
115 -
116 - # test relies on 'who' command which doesn't detect users with pid-sandbox
117 - rm kitty_tests/utmp.py || die
118 -
119 - # skip docs for live version
120 - [[ ${PV} != 9999 ]] || sed -i '/exists.*_build/,/docs(ddir)/d' setup.py || die
121 -}
122 -
123 -src_compile() {
124 - tc-export CC
125 - export PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
126 -
127 - local setup=(
128 - ${EPYTHON} setup.py linux-package
129 - --disable-link-time-optimization
130 - --ignore-compiler-warnings
131 - --libdir-name=$(get_libdir)
132 - --shell-integration="enabled no-rc"
133 - --update-check-interval=0
134 - --verbose
135 - $(usev debug --debug)
136 - )
137 -
138 - echo "${setup[*]}"
139 - "${setup[@]}" || die "setup.py failed to compile ${PN}"
140 -
141 - [[ ${PV} == 9999 ]] || mv linux-package/share/doc/{${PN},${PF}} || die
142 - rm -r linux-package/share/terminfo || die
143 -}
144 -
145 -src_test() {
146 - PATH=linux-package/bin:${PATH} KITTY_CONFIG_DIRECTORY=${T} \
147 - ${EPYTHON} test.py || die
148 -}
149 -
150 -src_install() {
151 - insinto /usr
152 - doins -r linux-package/.
153 -
154 - fperms +x /usr/bin/kitty
155 -}
156 -
157 -pkg_postinst() {
158 - xdg_pkg_postinst
159 -
160 - optfeature "in-terminal image display with kitty icat" media-gfx/imagemagick
161 - optfeature "audio-based terminal bell support" media-libs/libcanberra
162 - optfeature "opening links from the terminal" x11-misc/xdg-utils
163 -}