commit:     63ec6c8ef88c4a08994c83d763a220400beee189
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Tue Jul 22 01:53:53 2025 +0000
Commit:     Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Tue Jul 22 01:53:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63ec6c8e

app-shells/zsh-async: use newzshcomp instead of deprecated insinto

fixes the follwoing pkgcheck warnings:

app-shells/zsh-async
  DeprecatedInsinto: version 1.8.5_p20211005: deprecated insinto usage (use 
dozshcomp or newzshcomp from shell-completion.eclass instead), line 40: insinto 
/usr/share/zsh/site-functions
  DeprecatedInsinto: version 1.8.6: deprecated insinto usage (use dozshcomp or 
newzshcomp from shell-completion.eclass instead), line 38: insinto 
/usr/share/zsh/site-functions

Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>

 app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild | 5 ++---
 app-shells/zsh-async/zsh-async-1.8.6.ebuild           | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild 
b/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild
index 983b73ba2c..dcfac4fe1a 100644
--- a/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild
+++ b/app-shells/zsh-async/zsh-async-1.8.5_p20211005.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit readme.gentoo-r1
+inherit readme.gentoo-r1 shell-completion
 
 MY_COMMIT="3ba6e2d1ea874bfb6badb8522ab86c1ae272923d"
 DESCRIPTION="Run multiple asynchronous jobs with callbacks"
@@ -37,8 +37,7 @@ src_test() {
 }
 
 src_install() {
-       insinto /usr/share/zsh/site-functions
-       doins async.zsh
+       newzshcomp "async.zsh" "_async"
 
        readme.gentoo_create_doc
        einstalldocs

diff --git a/app-shells/zsh-async/zsh-async-1.8.6.ebuild 
b/app-shells/zsh-async/zsh-async-1.8.6.ebuild
index 6b00fa4d78..c9e075ebaa 100644
--- a/app-shells/zsh-async/zsh-async-1.8.6.ebuild
+++ b/app-shells/zsh-async/zsh-async-1.8.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit readme.gentoo-r1
+inherit readme.gentoo-r1 shell-completion
 
 DESCRIPTION="Run multiple asynchronous jobs with callbacks"
 HOMEPAGE="https://github.com/mafredri/zsh-async";
@@ -35,8 +35,7 @@ src_test() {
 }
 
 src_install() {
-       insinto /usr/share/zsh/site-functions
-       doins async.zsh
+       newzshcomp "async.zsh" "_async"
 
        readme.gentoo_create_doc
        einstalldocs

Reply via email to