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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57C9115808B for ; Sun, 6 Mar 2022 21:20:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43714E09B8; Sun, 6 Mar 2022 21:20:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C4A4AE09B8 for ; Sun, 6 Mar 2022 21:20:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6547E342B13 for ; Sun, 6 Mar 2022 21:20:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CD24209 for ; Sun, 6 Mar 2022 21:20:07 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1646601554.a95f867c4fff4a78488114c5ff26c732b4229e0f.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild net-misc/youtube-dl/youtube-dl-9999.ebuild X-VCS-Directories: net-misc/youtube-dl/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: a95f867c4fff4a78488114c5ff26c732b4229e0f X-VCS-Branch: master Date: Sun, 6 Mar 2022 21:20:07 +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: 983c3f37-eb03-45f7-8d72-b6c969df30e0 X-Archives-Hash: 3e1651368188371700f998afcaa986dd commit: a95f867c4fff4a78488114c5ff26c732b4229e0f Author: Ionen Wolkens gentoo org> AuthorDate: Sun Mar 6 21:15:40 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Mar 6 21:19:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a95f867c net-misc/youtube-dl: warn about yt-dlp wrapper differences wrt bug #833872 comment #6 This is similar to what the yt-dlp ebuild itself warns about, but yt-dlp only does it once while here it wouldn't hurt to nag every time given the end goal is make people stop using youtube-dl. Bug: https://bugs.gentoo.org/833872 Signed-off-by: Ionen Wolkens gentoo.org> net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild | 8 ++++++++ net-misc/youtube-dl/youtube-dl-9999.ebuild | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild b/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild index 67a646261adf..cbae1a3e9ecc 100644 --- a/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild +++ b/net-misc/youtube-dl/youtube-dl-2021.12.17-r1.ebuild @@ -63,4 +63,12 @@ pkg_postinst() { ewarn "latest features and site support. youtube-dl is only kept maintained for" ewarn "compatibility with older software (notably its python module, yt-dlp has" ewarn "a 'bin/youtube-dl' compatibility wrapper but not for the module)." + + if use yt-dlp; then + ewarn + ewarn "USE=yt-dlp is enabled, so said compatibility wrapper will be used. Man pages" + ewarn "and completions for youtube-dl were still installed but may have slight usage" + ewarn "differences and does not read the same configuration files. It is recommended" + ewarn "to use the yt-dlp command directly instead." + fi } diff --git a/net-misc/youtube-dl/youtube-dl-9999.ebuild b/net-misc/youtube-dl/youtube-dl-9999.ebuild index 68428f716f70..284776e3ee5c 100644 --- a/net-misc/youtube-dl/youtube-dl-9999.ebuild +++ b/net-misc/youtube-dl/youtube-dl-9999.ebuild @@ -63,4 +63,12 @@ pkg_postinst() { ewarn "latest features and site support. youtube-dl is only kept maintained for" ewarn "compatibility with older software (notably its python module, yt-dlp has" ewarn "a 'bin/youtube-dl' compatibility wrapper but not for the module)." + + if use yt-dlp; then + ewarn + ewarn "USE=yt-dlp is enabled, so said compatibility wrapper will be used. Man pages" + ewarn "and completions for youtube-dl were still installed but may have slight usage" + ewarn "differences and does not read the same configuration files. It is recommended" + ewarn "to use the yt-dlp command directly instead." + fi }