From 79a0c63ed4156ee20a010b702a992dd95441460a Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Thu, 13 Apr 2023 07:21:07 +0200 Subject: [PATCH] app-misc/cheat: shell-completion, several fixes - Now making use of the 'shell-completion' eclass - Removed 'zsh-completion' USE flag (completion is now installed undonditionally) - No longer building manpage since it's pre-built in the release - Therefore: No longer depending on app-text/pandoc at build time - Removed weird total blocking of app-shells/zsh-completion. Now soft-blocking app-shells/zsh-completion < 0.34.0 because it used to install the zsh completion '_cheat' before 0.34.0. Signed-off-by: Jonas Frei --- ...eat-4.3.3.ebuild => cheat-4.3.3-r1.ebuild} | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) rename app-misc/cheat/{cheat-4.3.3.ebuild => cheat-4.3.3-r1.ebuild} (58%) diff --git a/app-misc/cheat/cheat-4.3.3.ebuild b/app-misc/cheat/cheat-4.3.3-r1.ebuild similarity index 58% rename from app-misc/cheat/cheat-4.3.3.ebuild rename to app-misc/cheat/cheat-4.3.3-r1.ebuild index d45719a630..9fb8c08682 100644 --- a/app-misc/cheat/cheat-4.3.3.ebuild +++ b/app-misc/cheat/cheat-4.3.3-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit bash-completion-r1 go-module optfeature +inherit go-module optfeature shell-completion DESCRIPTION="cheat allows you to create and view interactive cheatsheets on the command-line" HOMEPAGE="https://github.com/cheat/cheat" @@ -14,17 +14,13 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT Apache-2.0 BSD BSD-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="man zsh-completion" +IUSE="man" -RDEPEND="zsh-completion? ( !app-shells/zsh-completions )" -BDEPEND="man? ( app-text/pandoc )" +RDEPEND="!