commit:     f67ede4d19b1faf2355b5b9976908fe165bf6219
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Tue Jul 22 07:02:48 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 22 07:02:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f67ede4d

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 <ingenarelitems <AT> gmail.com>

 .../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

Reply via email to