From f67ede4d19b1faf2355b5b9976908fe165bf6219 Mon Sep 17 00:00:00 2001 From: ingenarel Date: Tue, 22 Jul 2025 13:02:48 +0600 Subject: [PATCH] app-shells/zsh-history-substring-search: deprecated insinto -> newzshcomp fixes the following pkgcheck warnings: app-shells/zsh-history-substring-search DeprecatedInsinto: version 1.0.2: deprecated insinto usage (use dozshcomp or newzshcomp from shell-completion.eclass instead), line 24: insinto /usr/share/zsh/site-functions DeprecatedInsinto: version 1.1.0: deprecated insinto usage (use dozshcomp or newzshcomp from shell-completion.eclass instead), line 24: insinto /usr/share/zsh/site-functions Signed-off-by: ingenarel --- .../zsh-history-substring-search-1.0.2.ebuild | 5 ++--- .../zsh-history-substring-search-1.1.0.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.0.2.ebuild b/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.0.2.ebuild index 53b13c6b81..0f6c1425e7 100644 --- a/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.0.2.ebuild +++ b/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit readme.gentoo-r1 +inherit readme.gentoo-r1 shell-completion DESCRIPTION="ZSH port of Fish history search (up arrow)" HOMEPAGE="https://github.com/zsh-users/zsh-history-substring-search" @@ -21,8 +21,7 @@ DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add at the end of your ~/.zshrc" src_install() { - insinto /usr/share/zsh/site-functions - doins ${PN}.zsh + newzshcomp "${PN}.zsh" "_${PN}" readme.gentoo_create_doc einstalldocs diff --git a/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.1.0.ebuild b/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.1.0.ebuild index 53b13c6b81..0f6c1425e7 100644 --- a/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.1.0.ebuild +++ b/app-shells/zsh-history-substring-search/zsh-history-substring-search-1.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit readme.gentoo-r1 +inherit readme.gentoo-r1 shell-completion DESCRIPTION="ZSH port of Fish history search (up arrow)" HOMEPAGE="https://github.com/zsh-users/zsh-history-substring-search" @@ -21,8 +21,7 @@ DOC_CONTENTS="In order to use ${CATEGORY}/${PN} add at the end of your ~/.zshrc" src_install() { - insinto /usr/share/zsh/site-functions - doins ${PN}.zsh + newzshcomp "${PN}.zsh" "_${PN}" readme.gentoo_create_doc einstalldocs