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