summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/yt-dlp')
-rw-r--r--net-misc/yt-dlp/yt-dlp-2021.11.10.1-r1.ebuild (renamed from net-misc/yt-dlp/yt-dlp-2021.11.10.1.ebuild)7
1 files changed, 7 insertions, 0 deletions
diff --git a/net-misc/yt-dlp/yt-dlp-2021.11.10.1.ebuild b/net-misc/yt-dlp/yt-dlp-2021.11.10.1-r1.ebuild
index 1aa701367fef..990228a53ee5 100644
--- a/net-misc/yt-dlp/yt-dlp-2021.11.10.1.ebuild
+++ b/net-misc/yt-dlp/yt-dlp-2021.11.10.1-r1.ebuild
@@ -24,6 +24,13 @@ python_test() {
epytest -m 'not download'
}
+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