commit:     ccb14ee4943ede49dd6e01e83c79929688a918a6
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Apr 13 05:37:10 2023 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Thu Apr 13 05:37:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ccb14ee4

app-text/OCRmyPDF: Make use of 'shell-completion' eclass

Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild 
b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
index 0561df0b5..59a7f5bd3 100644
--- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
+++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..10} )
 
-inherit bash-completion-r1 distutils-r1 optfeature
+inherit distutils-r1 optfeature shell-completion
 
 DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
 HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF";
@@ -58,8 +58,7 @@ src_install() {
        distutils-r1_src_install
        newbashcomp misc/completion/ocrmypdf.bash "${PN,,}"
 
-       insinto /usr/share/fish/vendor_completions.d
-       doins misc/completion/ocrmypdf.fish
+       dofishcomp misc/completion/ocrmypdf.fish
 }
 
 pkg_postinst() {

Reply via email to