commit:     85a01fdaee7f2bea99aba09bd4f38b95bbff3c3c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 01:15:21 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 01:15:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85a01fda

x11-terms/kitty: drop 0.28.1, 0.29.0

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/kitty/Manifest            |   6 --
 x11-terms/kitty/kitty-0.28.1.ebuild | 169 ------------------------------------
 x11-terms/kitty/kitty-0.29.0.ebuild | 169 ------------------------------------
 3 files changed, 344 deletions(-)

diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest
index 82238185b9d9..9c5350852e26 100644
--- a/x11-terms/kitty/Manifest
+++ b/x11-terms/kitty/Manifest
@@ -1,12 +1,6 @@
 DIST kitty-0.27.1-vendor.tar.xz 695432 BLAKE2B 
86c9a316351432e0ff14bf139158816ddabe7e16d91768694a8560a500765b518ba42db26ad24349c05caece5771c5db4fdf7077f06631d1e81ea9ddb52e0391
 SHA512 
f96366b7896a34202110c98a9f2177482a01102fb822bd33c46eeb6ffe096fce927213950bab658a6649e1874e936c479ea7884d3518a0d054e2f598d6402bdf
 DIST kitty-0.27.1.tar.xz 5045588 BLAKE2B 
2381b3e9af26bb8a4c4358318289e9ef49ba1e38678ef192fd815ced962644671433a80f124579fb593257351cd8e0a61f845975d61d0d33f42b9d470ef130f0
 SHA512 
484d451b418defc7256319730d623224e3744d6200989d92839c40c951fdb213fe2ef472ddf968f695e499aa6c35d994ad76bb0eb28bca80ec8644b2ead40d56
 DIST kitty-0.27.1.tar.xz.sig 566 BLAKE2B 
49cb96d99c48cfe74a50191687fac269cdc33146b5879acbb298c3c9bc7760eda1b2b08839f531d6fe4cf46287d671a1f6a6a24ffe6d6408939d113ba40545db
 SHA512 
b4d24f24ea49c342756d0e458c22e856c4117f07f197ee5294b07ac0a8b5e9d992446b86effb5a7aa1683582cf9ee59bcf651ae4f3952df7783f0a4438042799
-DIST kitty-0.28.1-vendor.tar.xz 1344988 BLAKE2B 
768a2859f18b743a23007be60323035f54375496cb08d45dabab12ca09b3227451f7c1e78dda72bc79712835e1e0541549b1c1f7b5f68f8b1164062c77ba7520
 SHA512 
bc111e7428660d79e116a88f0c62c4dc54c79c423c364156219c5a6251f0725fc43e34e8b518352b00433c2443371619b4f6ab5c41d32ddf129c42f98ced0694
-DIST kitty-0.28.1.tar.xz 7850232 BLAKE2B 
18567e54bbd2ac183120122847951744bb8494829911d4c66b5db23488fcc257c895b8d788c1b386ffec832aceb4f691a8a10339be07d43e54957c9c98365a01
 SHA512 
a8863c8bf5a3c385671d98bd50481ffcd3984e45ee051173eb38de9aac79643e69a312e08b8f655759f3ecdfab4efe38dca39167f5590e482748b5e85dea5537
-DIST kitty-0.28.1.tar.xz.sig 566 BLAKE2B 
5ad5fa8fa0143dcd5760dbd885c718582e5001d2eeb5b6b559abffd556407e1061ebe9c84757f49c57803233f38ebe6f7d813f9f50a55b7ce8532c0f589cd8ae
 SHA512 
cf13e09978187c19d53903aea0032ef2088950eb050e0d183283919e96d9a2ae14dd2a40f63ee0fc5180be3e5a9066ade86943f1bcac042d6da890fa2ed13720
-DIST kitty-0.29.0-vendor.tar.xz 1377160 BLAKE2B 
f0ab044a117d3592aa7c26a7401d93f3a4315f81a7612eeb8ba34be4f154955d7f6662adec7b0710484bfb5284aa0750bb19ab0c07279c74a9b3b4e42770d262
 SHA512 
b8c8bd91e5b8e711546d476b1c37dd5c15b9f5f02109279b75f6b27f994e910418c9429ba74bb170315df0e5e01ef235eecc8ade0b8d8a0effb97333ae18ce99
-DIST kitty-0.29.0.tar.xz 7812720 BLAKE2B 
bbcc08cb474bf0d9faff0a32244a4ce374da170b78dbeb74bf720ab431c51a8899d2ecaccf45a9063531ea9db51340ddd08bc72cb933cd9c812e89c176ecb32a
 SHA512 
d8d13dea92d21ad113e3f6b056b2ea31514e0893b04c2bac2665821bb66ec10fdadacbf19e22980e0e744ef9d272f2fc2b4981016b182509af2040b6f4267d3c
-DIST kitty-0.29.0.tar.xz.sig 566 BLAKE2B 
8755e62df9766fe742447e77d4d8c22303deac91a754cf0ef0cbd62ace6b1b48d48d5a703c6e96cbbdcf8c6527792b0f74dd4ef8c79eca3bc4fb9e719805d098
 SHA512 
741dcf20254e8e63333500d42c4cd4fa6f61497b511c330f7ceeb8bc75322c0c3c65baac6e29b48ae4e2fb6455b5d39d0988284694ccd269bde70adacd43ca34
 DIST kitty-0.29.1-vendor.tar.xz 1376632 BLAKE2B 
7ac778f1687f3fcf0803ae5b993306c72797b900203609bc1f96a3a624d1b8ea3d4f8a63b4930d64e4c720b3da932daf19d03928f7233402ac3fe63576abfeab
 SHA512 
f4bc8a3e9d23824e428beb02a09e34565d89cda4d277b0599a08a2491bc4960d4fe5fd6a4d70e3360ea88c28b786699381404629b0bf27a6190b4ef0cae81a74
 DIST kitty-0.29.1.tar.xz 7809084 BLAKE2B 
eba6bbe0fc69184a2b73088fff2859d49d06f030128306e761c16142872ceb280b3f034e86190614e68dd0703e8e0506ad5a1d4c4dd9fa64f22c9274d45952e2
 SHA512 
ce09342ed3cbb0a518dde8d33606468ee5a2a164f18ff4c8addbd33b05459407d4a935b93acb0e98df8d618aa832c93f91e9ac060e7f87c1e4567484adc46c9c
 DIST kitty-0.29.1.tar.xz.sig 566 BLAKE2B 
e7430db16603233faff10f92599962fd095ca8d5bbcf573e3fa600ec73cce7f23b9f12a299228ea53c1a04fd2f430ebc546b088f7e1b0504c44021f9fbe0ad0d
 SHA512 
e661c1c0aba0bc0c4cde2458b27fe8aa591bd6f5510ba4fbbe881d3ea6e60c2f94bf3b2974f4f385b96d31668850eca274aadc98e96690b51e41ceddf3acad50

diff --git a/x11-terms/kitty/kitty-0.28.1.ebuild 
b/x11-terms/kitty/kitty-0.28.1.ebuild
deleted file mode 100644
index 00cbcf7ed7e4..000000000000
--- a/x11-terms/kitty/kitty-0.28.1.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit edo optfeature multiprocessing python-single-r1 toolchain-funcs xdg
-
-if [[ ${PV} == 9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git";
-else
-       inherit verify-sig
-       SRC_URI="
-               
https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
-               https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
-               verify-sig? ( 
https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )"
-       
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg"
-       KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Fast, feature-rich, GPU-based terminal"
-HOMEPAGE="https://sw.kovidgoyal.net/kitty/";
-
-LICENSE="GPL-3 ZLIB"
-LICENSE+=" Apache-2.0 BSD MIT MPL-2.0" # go
-SLOT="0"
-IUSE="+X test wayland"
-REQUIRED_USE="
-       ${PYTHON_REQUIRED_USE}
-       || ( X wayland )
-       test? ( X wayland )"
-RESTRICT="!test? ( test )"
-
-# dlopen: fontconfig,libglvnd
-RDEPEND="
-       ${PYTHON_DEPS}
-       dev-libs/openssl:=
-       media-libs/fontconfig
-       media-libs/harfbuzz:=
-       media-libs/lcms:2
-       media-libs/libglvnd[X?]
-       media-libs/libpng:=
-       net-libs/librsync:=
-       sys-apps/dbus
-       sys-libs/zlib:=
-       x11-libs/libxkbcommon[X?]
-       x11-misc/xkeyboard-config
-       ~x11-terms/kitty-shell-integration-${PV}
-       ~x11-terms/kitty-terminfo-${PV}
-       X? ( x11-libs/libX11 )
-       wayland? ( dev-libs/wayland )
-       !sci-mathematics/kissat"
-DEPEND="
-       ${RDEPEND}
-       X? (
-               x11-base/xorg-proto
-               x11-libs/libXcursor
-               x11-libs/libXi
-               x11-libs/libXinerama
-               x11-libs/libXrandr
-       )
-       wayland? ( dev-libs/wayland-protocols )"
-BDEPEND="
-       ${PYTHON_DEPS}
-       >=dev-lang/go-1.20
-       sys-libs/ncurses
-       virtual/pkgconfig
-       test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )
-       wayland? ( dev-util/wayland-scanner )"
-[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( 
sec-keys/openpgp-keys-kovidgoyal )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-0.29.0-musl-1.2.4.patch"
-)
-
-QA_FLAGS_IGNORED="usr/bin/kitten" # written in Go
-
-src_unpack() {
-       if [[ ${PV} == 9999 ]]; then
-               git-r3_src_unpack
-               cd "${S}" || die
-               edo go mod vendor
-       else
-               use verify-sig &&
-                       verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.xz{,.sig}
-               default
-       fi
-}
-
-src_prepare() {
-       default
-
-       # sed unfortunately feels easier on maintenance than patches here
-       local sedargs=(
-               -e "/num_workers =/s/=.*/= $(makeopts_jobs)/"
-               -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//'
-               -e "s/ld_flags.append('-[sw]')/pass/"
-       )
-
-       # kitty is often popular on wayland-only setups, try to allow this
-       use !X && sedargs+=( -e '/gl_libs =/s/=.*/= []/' ) #857918
-       use !X || use !wayland &&
-               sedargs+=( -e "s/'x11 wayland'/'$(usex X x11 wayland)'/" )
-
-       # skip docs for live version, missing dependencies
-       [[ ${PV} == 9999 ]] && sedargs+=( -e '/exists.*_build/,/docs(ddir)/d' )
-
-       sed -i setup.py "${sedargs[@]}" || die
-
-       local skiptests=(
-               # relies on 'who' command which doesn't detect users with 
pid-sandbox
-               kitty_tests/utmp.py
-               # may fail/hang depending on environment and shell 
initialization
-               kitty_tests/{shell_integration,ssh}.py
-               # relies on /proc/self/fd and gets confused when ran from here
-               tools/utils/tpmfile_test.go
-       )
-       use !test || rm "${skiptests[@]}" || die
-}
-
-src_compile() {
-       tc-export CC
-       local -x GOFLAGS="-p=$(makeopts_jobs) -v -x"
-       use ppc64 && [[ $(tc-endian) == big ]] || GOFLAGS+=" -buildmode=pie"
-       local -x PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
-
-       local conf=(
-               --disable-link-time-optimization
-               --ignore-compiler-warnings
-               --libdir-name=$(get_libdir)
-               --shell-integration="enabled no-rc"
-               --update-check-interval=0
-               --verbose
-       )
-
-       edo "${EPYTHON}" setup.py linux-package "${conf[@]}"
-       use test && edo "${EPYTHON}" setup.py build-launcher "${conf[@]}"
-
-       rm -r linux-package/share/terminfo || die # provided by kitty-terminfo
-
-       if [[ ${PV} == 9999 ]]; then
-               mkdir -p linux-package/share/doc/${PF} || die
-       else
-               mv linux-package/share/doc/{${PN},${PF}} || die
-       fi
-
-       # generate default config as reference, command taken from docs/conf.rst
-       if ! tc-is-cross-compiler; then
-               linux-package/bin/kitty +runpy \
-                       'from kitty.config import *; 
print(commented_out_default_config())' \
-                       > linux-package/share/doc/${PF}/kitty.conf || die
-       fi
-}
-
-src_test() {
-       KITTY_CONFIG_DIRECTORY=${T} ./test.py || die # shebang is kitty
-}
-
-src_install() {
-       edo mv linux-package "${ED}"/usr
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-
-       optfeature "audio-based terminal bell support" media-libs/libcanberra
-       optfeature "opening links from the terminal" x11-misc/xdg-utils
-}

diff --git a/x11-terms/kitty/kitty-0.29.0.ebuild 
b/x11-terms/kitty/kitty-0.29.0.ebuild
deleted file mode 100644
index 73a34d22e2c4..000000000000
--- a/x11-terms/kitty/kitty-0.29.0.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-inherit edo optfeature multiprocessing python-single-r1 toolchain-funcs xdg
-
-if [[ ${PV} == 9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git";
-else
-       inherit verify-sig
-       SRC_URI="
-               
https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
-               https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
-               verify-sig? ( 
https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )"
-       
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg"
-       KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-fi
-
-DESCRIPTION="Fast, feature-rich, GPU-based terminal"
-HOMEPAGE="https://sw.kovidgoyal.net/kitty/";
-
-LICENSE="GPL-3 ZLIB"
-LICENSE+=" Apache-2.0 BSD MIT MPL-2.0" # go
-SLOT="0"
-IUSE="+X test wayland"
-REQUIRED_USE="
-       ${PYTHON_REQUIRED_USE}
-       || ( X wayland )
-       test? ( X wayland )"
-RESTRICT="!test? ( test )"
-
-# dlopen: fontconfig,libglvnd
-RDEPEND="
-       ${PYTHON_DEPS}
-       dev-libs/openssl:=
-       media-libs/fontconfig
-       media-libs/harfbuzz:=
-       media-libs/lcms:2
-       media-libs/libglvnd[X?]
-       media-libs/libpng:=
-       net-libs/librsync:=
-       sys-apps/dbus
-       sys-libs/zlib:=
-       x11-libs/libxkbcommon[X?]
-       x11-misc/xkeyboard-config
-       ~x11-terms/kitty-shell-integration-${PV}
-       ~x11-terms/kitty-terminfo-${PV}
-       X? ( x11-libs/libX11 )
-       wayland? ( dev-libs/wayland )
-       !sci-mathematics/kissat"
-DEPEND="
-       ${RDEPEND}
-       X? (
-               x11-base/xorg-proto
-               x11-libs/libXcursor
-               x11-libs/libXi
-               x11-libs/libXinerama
-               x11-libs/libXrandr
-       )
-       wayland? ( dev-libs/wayland-protocols )"
-BDEPEND="
-       ${PYTHON_DEPS}
-       >=dev-lang/go-1.20
-       sys-libs/ncurses
-       virtual/pkgconfig
-       test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') )
-       wayland? ( dev-util/wayland-scanner )"
-[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( 
sec-keys/openpgp-keys-kovidgoyal )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-0.29.0-musl-1.2.4.patch"
-)
-
-QA_FLAGS_IGNORED="usr/bin/kitten" # written in Go
-
-src_unpack() {
-       if [[ ${PV} == 9999 ]]; then
-               git-r3_src_unpack
-               cd "${S}" || die
-               edo go mod vendor
-       else
-               use verify-sig &&
-                       verify-sig_verify_detached 
"${DISTDIR}"/${P}.tar.xz{,.sig}
-               default
-       fi
-}
-
-src_prepare() {
-       default
-
-       # sed unfortunately feels easier on maintenance than patches here
-       local sedargs=(
-               -e "/num_workers =/s/=.*/= $(makeopts_jobs)/"
-               -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//'
-               -e "s/ld_flags.append('-[sw]')/pass/"
-       )
-
-       # kitty is often popular on wayland-only setups, try to allow this
-       use !X && sedargs+=( -e '/gl_libs =/s/=.*/= []/' ) #857918
-       use !X || use !wayland &&
-               sedargs+=( -e "s/'x11 wayland'/'$(usex X x11 wayland)'/" )
-
-       # skip docs for live version, missing dependencies
-       [[ ${PV} == 9999 ]] && sedargs+=( -e '/exists.*_build/,/docs(ddir)/d' )
-
-       sed -i setup.py "${sedargs[@]}" || die
-
-       local skiptests=(
-               # relies on 'who' command which doesn't detect users with 
pid-sandbox
-               kitty_tests/utmp.py
-               # may fail/hang depending on environment and shell 
initialization
-               kitty_tests/{shell_integration,ssh}.py
-               # relies on /proc/self/fd and gets confused when ran from here
-               tools/utils/tpmfile_test.go
-       )
-       use !test || rm "${skiptests[@]}" || die
-}
-
-src_compile() {
-       tc-export CC
-       local -x GOFLAGS="-p=$(makeopts_jobs) -v -x"
-       use ppc64 && [[ $(tc-endian) == big ]] || GOFLAGS+=" -buildmode=pie"
-       local -x PKGCONFIG_EXE=$(tc-getPKG_CONFIG)
-
-       local conf=(
-               --disable-link-time-optimization
-               --ignore-compiler-warnings
-               --libdir-name=$(get_libdir)
-               --shell-integration="enabled no-rc"
-               --update-check-interval=0
-               --verbose
-       )
-
-       edo "${EPYTHON}" setup.py linux-package "${conf[@]}"
-       use test && edo "${EPYTHON}" setup.py build-launcher "${conf[@]}"
-
-       rm -r linux-package/share/terminfo || die # provided by kitty-terminfo
-
-       if [[ ${PV} == 9999 ]]; then
-               mkdir -p linux-package/share/doc/${PF} || die
-       else
-               mv linux-package/share/doc/{${PN},${PF}} || die
-       fi
-
-       # generate default config as reference, command taken from docs/conf.rst
-       if ! tc-is-cross-compiler; then
-               linux-package/bin/kitty +runpy \
-                       'from kitty.config import *; 
print(commented_out_default_config())' \
-                       > linux-package/share/doc/${PF}/kitty.conf || die
-       fi
-}
-
-src_test() {
-       KITTY_CONFIG_DIRECTORY=${T} ./test.py || die # shebang is kitty
-}
-
-src_install() {
-       edo mv linux-package "${ED}"/usr
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-
-       optfeature "audio-based terminal bell support" media-libs/libcanberra
-       optfeature "opening links from the terminal" x11-misc/xdg-utils
-}

Reply via email to