summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2025-04-28 13:52:42 -0400
committerIonen Wolkens <ionen@gentoo.org>2025-04-28 13:55:09 -0400
commitae4385663258a9a255a7bc5076cad48c608b56bf (patch)
tree06079e0589312929a5670de6f9dd950984c018ff
parentc5bf976cee1c7a1162bd57167c80803ed4e18330 (diff)
downloadgentoo-ae4385663258a9a255a7bc5076cad48c608b56bf.tar.gz
gentoo-ae4385663258a9a255a7bc5076cad48c608b56bf.tar.bz2
gentoo-ae4385663258a9a255a7bc5076cad48c608b56bf.zip
net-misc/yt-dlp: fix DeprecatedInsinto
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--net-misc/yt-dlp/yt-dlp-2025.03.31.ebuild10
-rw-r--r--net-misc/yt-dlp/yt-dlp-9999.ebuild10
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"
}