Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/
Date: Fri, 27 Sep 2019 03:21:15
Message-Id: 1569552736.57f2d2e48e13220efd0b4143914be5e226a6988b.radhermit@gentoo
1 commit: 57f2d2e48e13220efd0b4143914be5e226a6988b
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 27 02:52:16 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 27 02:52:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f2d2e4
7
8 x11-terms/kitty: remove old
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 x11-terms/kitty/Manifest | 1 -
13 x11-terms/kitty/kitty-0.14.2.ebuild | 107 ------------------------------------
14 2 files changed, 108 deletions(-)
15
16 diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest
17 index 7185f445bae..8aa1f415c4d 100644
18 --- a/x11-terms/kitty/Manifest
19 +++ b/x11-terms/kitty/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST kitty-0.14.2.tar.xz 2867116 BLAKE2B 20f3d66caa5242502f2699d4a5e8364eda357b00c72d50650ab0d03fbbb552152a2d4447e37ce20660d6d8f9ffc285aee057f6adf7a03ac57fa8ab6d1da61013 SHA512 191a37424c51776d271008c6b4b0cb43b60cd2abea3ea7b2a08cca9a8d44c4932ca11470f3efb8debc0e2ef3641bb68c05374401073b23cf81042af467b1dbf4
22 DIST kitty-0.14.4.tar.xz 2946268 BLAKE2B e06cdb1081d821bd65190ec7526482f7471f7a04c8a559e48465b602559079c10d220024ac521d2fce34e0eb90af7bee01d1da408082bfa724ac61e59709a860 SHA512 1550883232bff21217fc0d294598d6d828e67a944fc69b324079e87bf2505344c58ade75cec8bff1dca7821c4f490c066f2645281cee0e71792d317ef7df3779
23 DIST kitty-0.14.6.tar.xz 2970008 BLAKE2B e4f64051aebcc5d5aa1956351acb5564815e65c7c8435cac3c7960c5096fbeb5f0e98e3bdf92e750e8d70d6b0124b081bbb5d38a589c3dc5cf74642c3eaf83c9 SHA512 889bfce732f2a36d338c9c41b28e0770d98c15530b56a9f037cef610593b50453f1bde60e89560472035fc250dec0431a9776de1449f77e4c6988aca157eea12
24
25 diff --git a/x11-terms/kitty/kitty-0.14.2.ebuild b/x11-terms/kitty/kitty-0.14.2.ebuild
26 deleted file mode 100644
27 index 9973e320b0b..00000000000
28 --- a/x11-terms/kitty/kitty-0.14.2.ebuild
29 +++ /dev/null
30 @@ -1,107 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -PYTHON_COMPAT=( python3_{6,7} )
36 -
37 -inherit python-single-r1 toolchain-funcs gnome2-utils
38 -
39 -if [[ ${PV} == "9999" ]] ; then
40 - EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git"
41 - inherit git-r3
42 -else
43 - SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz"
44 - KEYWORDS="~amd64 ~x86"
45 -fi
46 -
47 -DESCRIPTION="A modern, hackable, featureful, OpenGL-based terminal emulator"
48 -HOMEPAGE="https://github.com/kovidgoyal/kitty"
49 -
50 -LICENSE="GPL-3"
51 -SLOT="0"
52 -IUSE="debug doc imagemagick wayland"
53 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
54 -
55 -COMMON_DEPS="
56 - ${PYTHON_DEPS}
57 - >=media-libs/harfbuzz-1.5.0:=
58 - sys-apps/dbus
59 - sys-libs/zlib
60 - media-libs/libpng:0=
61 - media-libs/freetype:2
62 - media-libs/fontconfig
63 - x11-libs/libXcursor
64 - x11-libs/libXrandr
65 - x11-libs/libXi
66 - x11-libs/libXinerama
67 - x11-libs/libxkbcommon[X]
68 - x11-libs/libxcb[xkb]
69 - wayland? (
70 - dev-libs/wayland
71 - >=dev-libs/wayland-protocols-1.17
72 - )
73 -"
74 -RDEPEND="
75 - ${COMMON_DEPS}
76 - imagemagick? ( virtual/imagemagick-tools )
77 -"
78 -DEPEND="${RDEPEND}
79 - media-libs/mesa[X(+)]
80 - sys-libs/ncurses
81 - virtual/pkgconfig
82 -"
83 -[[ ${PV} == *9999 ]] && DEPEND+=" >=dev-python/sphinx-1.7[${PYTHON_USEDEP}]"
84 -
85 -PATCHES=(
86 - "${FILESDIR}"/${PN}-0.14.2-flags.patch
87 - "${FILESDIR}"/${PN}-0.11.0-svg-icon.patch
88 -)
89 -
90 -src_prepare() {
91 - default
92 -
93 - # disable wayland as required
94 - if ! use wayland; then
95 - sed -i "/'x11 wayland'/s/ wayland//" setup.py || die
96 - fi
97 -
98 - # respect doc dir
99 - sed -i "/htmldir =/s/appname/'${PF}'/" setup.py
100 -
101 - tc-export CC
102 -}
103 -
104 -doecho() {
105 - echo "$@"
106 - "$@" || die
107 -}
108 -
109 -src_compile() {
110 - doecho "${EPYTHON}" setup.py \
111 - --verbose $(usex debug --debug "") \
112 - --libdir-name $(get_libdir) \
113 - linux-package
114 -}
115 -
116 -src_test() {
117 - export KITTY_CONFIG_DIRECTORY=${T}
118 - "${EPYTHON}" test.py || die
119 -}
120 -
121 -src_install() {
122 - mkdir -p "${ED}"usr || die
123 - cp -r linux-package/* "${ED}usr" || die
124 - python_fix_shebang "${ED}"
125 -
126 - if ! use doc; then
127 - rm -r "${ED}"/usr/share/doc || die
128 - fi
129 -}
130 -
131 -pkg_postinst() {
132 - gnome2_icon_cache_update
133 -}
134 -
135 -pkg_postrm() {
136 - gnome2_icon_cache_update
137 -}