From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A272F15808A for ; Wed, 16 Jul 2025 07:39:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 88A5D340E39 for ; Wed, 16 Jul 2025 07:39:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B466D11055D; Wed, 16 Jul 2025 07:39:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id AF43211055C for ; Wed, 16 Jul 2025 07:39:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 614A6340FB9 for ; Wed, 16 Jul 2025 07:39:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C425A31CC for ; Wed, 16 Jul 2025 07:39:29 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1752651537.75d82ba5befd03bbe680ab1cc34c0dc37fc8c7b3.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/kitty/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/kitty/kitty-9999.ebuild X-VCS-Directories: x11-terms/kitty/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 75d82ba5befd03bbe680ab1cc34c0dc37fc8c7b3 X-VCS-Branch: master Date: Wed, 16 Jul 2025 07:39:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dd6810ae-e2c8-4559-8997-003918d0572e X-Archives-Hash: e3cd975ef2649ae6edc273bf5f34a6a1 commit: 75d82ba5befd03bbe680ab1cc34c0dc37fc8c7b3 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jul 16 06:36:21 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jul 16 07:38:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d82ba5 x11-terms/kitty: install shell completion files in live Some of this was already done by x11-terms/kitty-shell-integration but there was little reason to have that package install these (see bug #960075) and the pre-generated files it installed were missing things (most notably it did not have a pre-gen file for bash). Note that for 9999 this will cause conflicts unless update kitty-shell-integration first (normally these are always supposed to be updated together and in order either way, albeit for 9999 that is not enforced). Otherwise blockers are not needed given kitty pins to exact versions forcing the update first. Bug: https://bugs.gentoo.org/960075 Signed-off-by: Ionen Wolkens gentoo.org> x11-terms/kitty/kitty-9999.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild index 16ecbab67df8..dfa4af207290 100644 --- a/x11-terms/kitty/kitty-9999.ebuild +++ b/x11-terms/kitty/kitty-9999.ebuild @@ -160,11 +160,20 @@ src_compile() { 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 + # generate default config reference, command taken from docs/conf.rst linux-package/bin/kitty +runpy \ 'from kitty.config import *; print(commented_out_default_config())' \ > linux-package/share/doc/${PF}/kitty.conf || die + + # generate shell completions, shell-integration/ has some "old" pre-gen + # ones that currently miss things (no bash, no kitten for zsh, etc...) + mkdir -p linux-package/share/bash-completion/completions || die + linux-package/bin/kitten __complete__ setup bash > ${_}/kitty || die + mkdir -p linux-package/share/fish/vendor_completions.d || die + linux-package/bin/kitten __complete__ setup fish > ${_}/kitty.fish || die + mkdir -p linux-package/share/zsh/site-functions || die + linux-package/bin/kitten __complete__ setup zsh > ${_}/_kitty || die fi }