summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-02-15 18:09:27 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-02-15 21:53:42 -0500
commit80090cb504a4303d1845f50226b1e0a073e8c6f4 (patch)
tree21eff28448530248c09ecba2a235688ad0799941 /net-misc/yt-dlp
parentnet-misc/yt-dlp: add pypi remote-id (diff)
downloadgentoo-80090cb504a4303d1845f50226b1e0a073e8c6f4.tar.gz
gentoo-80090cb504a4303d1845f50226b1e0a073e8c6f4.tar.bz2
gentoo-80090cb504a4303d1845f50226b1e0a073e8c6f4.zip
net-misc/yt-dlp: remove youtube-dl python module symlink
This was never a good idea, it's not 1:1 compatible and cases where yt-dlp's python module can work on a package expecting youtube-dl are rather few (sometime can do some basics at best). And then portage is not good at handling this situation wrt bug #833435 Fortunately no revdeps relied on this yet, so cleaning should be safe (vidify was patched to import the right module instead, so +1). Also adjust youtube-dl blocker to account for upcoming IUSE=yt-dlp. Closes: https://bugs.gentoo.org/833435 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc/yt-dlp')
-rw-r--r--net-misc/yt-dlp/yt-dlp-2022.2.4-r1.ebuild (renamed from net-misc/yt-dlp/yt-dlp-2022.2.4.ebuild)9
1 files changed, 1 insertions, 8 deletions
diff --git a/net-misc/yt-dlp/yt-dlp-2022.2.4.ebuild b/net-misc/yt-dlp/yt-dlp-2022.2.4-r1.ebuild
index a9f9a75ef095..9137e06c3342 100644
--- a/net-misc/yt-dlp/yt-dlp-2022.2.4.ebuild
+++ b/net-misc/yt-dlp/yt-dlp-2022.2.4-r1.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86"
RDEPEND="
dev-python/pycryptodome[${PYTHON_USEDEP}]
- !net-misc/youtube-dl"
+ !net-misc/youtube-dl[-yt-dlp(-)]"
distutils_enable_tests pytest
@@ -33,13 +33,6 @@ python_test() {
epytest -m 'not download' -p no:markdown
}
-python_install() {
- distutils-r1_python_install
-
- local sitedir=$(python_get_sitedir)
- dosym yt_dlp "${sitedir#${EPREFIX}}"/youtube_dl
-}
-
python_install_all() {
dodoc README.md Changelog.md supportedsites.md
doman yt-dlp.1