commit: ae4385663258a9a255a7bc5076cad48c608b56bf
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 28 17:52:42 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Apr 28 17:55:09 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae438566
net-misc/yt-dlp: fix DeprecatedInsinto
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild | 10 +++-------
net-misc/yt-dlp/yt-dlp-9999.ebuild | 10 +++-------
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild
b/net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild
index a57a8f5167a7..166b4253d26d 100644
--- a/net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild
+++ b/net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
-inherit bash-completion-r1 distutils-r1 optfeature wrapper
+inherit distutils-r1 optfeature shell-completion wrapper
DESCRIPTION="youtube-dl fork with additional features and fixes"
HOMEPAGE="https://github.com/yt-dlp/yt-dlp/"
@@ -47,12 +47,8 @@ python_install_all() {
doman yt-dlp.1
dobashcomp completions/bash/yt-dlp
-
- insinto /usr/share/fish/vendor_completions.d
- doins completions/fish/yt-dlp.fish
-
- insinto /usr/share/zsh/site-functions
- doins completions/zsh/_yt-dlp
+ dofishcomp completions/fish/yt-dlp.fish
+ dozshcomp completions/zsh/_yt-dlp
rm -r "${ED}"/usr/share/doc/yt_dlp || die
diff --git a/net-misc/yt-dlp/yt-dlp-9999.ebuild
b/net-misc/yt-dlp/yt-dlp-9999.ebuild
index c0523c906e61..836ca08884bb 100644
--- a/net-misc/yt-dlp/yt-dlp-9999.ebuild
+++ b/net-misc/yt-dlp/yt-dlp-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
-inherit bash-completion-r1 distutils-r1 git-r3 optfeature wrapper
+inherit distutils-r1 git-r3 optfeature shell-completion wrapper
DESCRIPTION="youtube-dl fork with additional features and fixes"
HOMEPAGE="https://github.com/yt-dlp/yt-dlp/"
@@ -54,12 +54,8 @@ python_install_all() {
use man && doman yt-dlp.1
dobashcomp completions/bash/yt-dlp
-
- insinto /usr/share/fish/vendor_completions.d
- doins completions/fish/yt-dlp.fish
-
- insinto /usr/share/zsh/site-functions
- doins completions/zsh/_yt-dlp
+ dofishcomp completions/fish/yt-dlp.fish
+ dozshcomp completions/zsh/_yt-dlp
make_wrapper youtube-dl "yt-dlp --compat-options youtube-dl"
}