From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A590158089 for ; Mon, 6 Nov 2023 14:38:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 957742BC0B8; Mon, 6 Nov 2023 14:38:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 741FB2BC0B6 for ; Mon, 6 Nov 2023 14:38:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C78D335C8E for ; Mon, 6 Nov 2023 14:38:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 942EAC3D for ; Mon, 6 Nov 2023 14:38:42 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1699267800.6cceb97e1a8df0afd6bc044276a6ce9fb3e6a2b1.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/youtube-dl/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild X-VCS-Directories: net-misc/youtube-dl/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 6cceb97e1a8df0afd6bc044276a6ce9fb3e6a2b1 X-VCS-Branch: master Date: Mon, 6 Nov 2023 14:38:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0de9fbb8-7f0b-48b8-bbf9-d40a07d324d8 X-Archives-Hash: 3b7db8c471704a5107c7daa218b41bd1 commit: 6cceb97e1a8df0afd6bc044276a6ce9fb3e6a2b1 Author: Huang Rui gmail com> AuthorDate: Mon Nov 6 10:50:00 2023 +0000 Commit: David Roman gmail com> CommitDate: Mon Nov 6 10:50:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6cceb97e net-misc/youtube-dl: improve ebuild and inherit shell-completion Signed-off-by: Huang Rui gmail.com> net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild b/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild index f8943d44b7..c4e467feac 100644 --- a/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild +++ b/net-misc/youtube-dl/youtube-dl-2021.12.17.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..12} ) -inherit bash-completion-r1 distutils-r1 +inherit distutils-r1 shell-completion DESCRIPTION="youtube-dl fork with additional features and fixes" HOMEPAGE="https://ytdl-org.github.io/youtube-dl" @@ -34,11 +34,7 @@ src_prepare() { python_install_all() { dodoc "${S}"/{AUTHORS,ChangeLog,README.*} doman "${S}"/youtube-dl.1 - newbashcomp "${S}"/youtube-dl.bash-completion youtube-dl - - insinto /usr/share/fish/vendor_completions.d - doins "${S}"/youtube-dl.fish - - insinto /usr/share/zsh/site-functions - doins "${S}"/youtube-dl.zsh + newbashcomp "${S}"/youtube-dl.bash-completion "${PN}" + dofishcomp "${S}"/youtube-dl.fish + newzshcomp "${S}"/youtube-dl.zsh "_${PN}" }