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: Tue, 01 Nov 2022 20:39:41
Message-Id: 1667334761.6824b660c2a935b90d055cc59257eb597567fbf3.ionen@gentoo
1 commit: 6824b660c2a935b90d055cc59257eb597567fbf3
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 19:58:33 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 20:32:41 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6824b660
7
8 x11-terms/kitty: drop 0.26.3
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 x11-terms/kitty/Manifest | 2 -
13 x11-terms/kitty/kitty-0.26.3.ebuild | 131 ------------------------------------
14 2 files changed, 133 deletions(-)
15
16 diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest
17 index 168e6334165d..e10fd0593cb7 100644
18 --- a/x11-terms/kitty/Manifest
19 +++ b/x11-terms/kitty/Manifest
20 @@ -1,4 +1,2 @@
21 -DIST kitty-0.26.3.tar.xz 4730520 BLAKE2B a2d8cccc76eb295256ac420700e941ac9cb0e79c9717a93226cc30db63ab047dcd0be2e11b36b44c7c15daa0b77a451242d32f71024cee724869ba8937b93dd5 SHA512 77a518cd3ec4bb059907f16d01068914951cadbbcf803dcbfae13cc9ce144f65a886d7e986c7191019a0be9ccf902f086c72a24287458d083cbd3fd136d2c589
22 -DIST kitty-0.26.3.tar.xz.sig 566 BLAKE2B 6e8e622bec031416b0f591c0b53f53ba874c977511c447ab625f52bc7fca04f1003ca5db4cc4138336f5afc4f729b2b8b6e0f5d77e296033422774665fbd5ba3 SHA512 4a8fd60ca1baa619790909243a620f816c44a28a8d889633c5b433af0f46cd1c92bcbcbbd9db942c385764387958db294cdeb3cdffc0369a79d56f41ccb81b57
23 DIST kitty-0.26.4.tar.xz 4749148 BLAKE2B fe15d2bd3afda49fcdc911d0ada5824dffe7eac69cd22581b86f50b0d20330ef10bf567d4adfafe5e06d20f9d7a10c8acfcffb95a3d5c47c50327576d9600761 SHA512 4d3ef5ba2ca54d0f5cd84ece771297c19c05bd276fc235f92c76d469ad17e55b54de696dce38c9039ae9825c7609e03e937536261c4fb680e936865ee0e4441e
24 DIST kitty-0.26.4.tar.xz.sig 566 BLAKE2B 8ac544b077cc30f811be665226e413e3074d3490b99b790c37ff871017131be76163a526f6c5eca6a711724975a4e3d6a6d897f2bacafac6b8f71f8ce141dd8d SHA512 f851daebc0c9d75f39c1e02a3ca14ab77f350c7f606e4e00f4513e084ca86e329dc2da033a6292aaedf683995932e83c58d273552d2afd26a0e541e89bdd4bf9
25
26 diff --git a/x11-terms/kitty/kitty-0.26.3.ebuild b/x11-terms/kitty/kitty-0.26.3.ebuild
27 deleted file mode 100644
28 index e097e42e5591..000000000000
29 --- a/x11-terms/kitty/kitty-0.26.3.ebuild
30 +++ /dev/null
31 @@ -1,131 +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 edo optfeature multiprocessing 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 - inherit verify-sig
45 - SRC_URI="
46 - https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
47 - verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )"
48 - VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg"
49 - KEYWORDS="amd64 ~ppc64 ~riscv x86"
50 -fi
51 -
52 -DESCRIPTION="Fast, feature-rich, GPU-based terminal"
53 -HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
54 -
55 -LICENSE="GPL-3"
56 -SLOT="0"
57 -IUSE="+X test transfer wayland"
58 -REQUIRED_USE="
59 - || ( X wayland )
60 - ${PYTHON_REQUIRED_USE}"
61 -RESTRICT="!X? ( test ) !test? ( test ) !transfer? ( test ) !wayland? ( test )"
62 -
63 -# dlopen: fontconfig,libglvnd
64 -RDEPEND="
65 - ${PYTHON_DEPS}
66 - dev-libs/openssl:=
67 - media-libs/fontconfig
68 - media-libs/harfbuzz:=
69 - media-libs/lcms:2
70 - media-libs/libglvnd[X?]
71 - media-libs/libpng:=
72 - sys-apps/dbus
73 - sys-libs/zlib:=
74 - x11-libs/libxkbcommon[X?]
75 - x11-misc/xkeyboard-config
76 - ~x11-terms/kitty-shell-integration-${PV}
77 - ~x11-terms/kitty-terminfo-${PV}
78 - X? ( x11-libs/libX11 )
79 - transfer? ( net-libs/librsync:= )
80 - wayland? ( dev-libs/wayland )"
81 -DEPEND="
82 - ${RDEPEND}
83 - X? (
84 - x11-base/xorg-proto
85 - x11-libs/libXcursor
86 - x11-libs/libXi
87 - x11-libs/libXinerama
88 - x11-libs/libXrandr
89 - )
90 - wayland? ( dev-libs/wayland-protocols )"
91 -BDEPEND="
92 - ${PYTHON_DEPS}
93 - sys-libs/ncurses
94 - virtual/pkgconfig
95 - test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )
96 - wayland? ( dev-util/wayland-scanner )"
97 -[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )"
98 -
99 -src_prepare() {
100 - default
101 -
102 - # seds unfortunately feel easier on maintainenance than patches here
103 - sed -e "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" \
104 - -e "$(usev !X '/gl_libs =/s/=.*/= []/')" \
105 - -e "/num_workers =/s/=.*/= $(makeopts_jobs)/" \
106 - -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' \
107 - -i setup.py || die
108 -
109 - if use !transfer; then
110 - sed -i 's/rs_cflag =/& []#/;/files.*rsync/d' setup.py || die
111 - rm -r kittens/transfer || die
112 - fi
113 -
114 - # test relies on 'who' command which doesn't detect users with pid-sandbox
115 - rm kitty_tests/utmp.py || die
116 -
117 - # test may fail/hang depending on environment and shell initialization scripts
118 - rm kitty_tests/{shell_integration,ssh}.py || die
119 -
120 - # skip docs for live version
121 - [[ ${PV} != 9999 ]] || sed -i '/exists.*_build/,/docs(ddir)/d' setup.py || die
122 -}
123 -
124 -src_compile() {
125 - tc-export CC
126 - export PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
127 -
128 - local conf=(
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 - )
136 -
137 - edo ${EPYTHON} setup.py linux-package "${conf[@]}"
138 - use test && edo ${EPYTHON} setup.py build-launcher "${conf[@]}"
139 -
140 - [[ ${PV} == 9999 ]] || mv linux-package/share/doc/{${PN},${PF}} || die
141 - rm -r linux-package/share/terminfo || die
142 -}
143 -
144 -src_test() {
145 - KITTY_CONFIG_DIRECTORY=${T} ./test.py || die # shebang is kitty
146 -}
147 -
148 -src_install() {
149 - insinto /usr
150 - doins -r linux-package/.
151 -
152 - fperms +x /usr/bin/kitty \
153 - /usr/$(get_libdir)/kitty/shell-integration/ssh/{askpass.py,kitty}
154 -}
155 -
156 -pkg_postinst() {
157 - xdg_pkg_postinst
158 -
159 - optfeature "in-terminal image display with kitty icat" media-gfx/imagemagick
160 - optfeature "audio-based terminal bell support" media-libs/libcanberra
161 - optfeature "opening links from the terminal" x11-misc/xdg-utils
162 -}