diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-11-14 18:50:20 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-11-14 18:52:26 -0500 |
commit | 278a98890d1a1e600287719b9b13871d9bbeb4e2 (patch) | |
tree | 08ba6f4721bed84ed2626865dcbfff11036331a3 /net-misc | |
parent | sys-firmware/intel-microcode: add 20231114_p20231114 (diff) | |
download | gentoo-278a98890d1a1e600287719b9b13871d9bbeb4e2.tar.gz gentoo-278a98890d1a1e600287719b9b13871d9bbeb4e2.tar.bz2 gentoo-278a98890d1a1e600287719b9b13871d9bbeb4e2.zip |
net-misc/yt-dlp: make pip check happier
None of these are actually required and are more for obscure
options.
fwiw add optdepend for secretstorage but requests/urllib3 not
really worth it (and typicallly installed either way).
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/yt-dlp/yt-dlp-2023.11.14.ebuild | 3 | ||||
-rw-r--r-- | net-misc/yt-dlp/yt-dlp-9999.ebuild | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/net-misc/yt-dlp/yt-dlp-2023.11.14.ebuild b/net-misc/yt-dlp/yt-dlp-2023.11.14.ebuild index 2048994016f1..3a877d8e222b 100644 --- a/net-misc/yt-dlp/yt-dlp-2023.11.14.ebuild +++ b/net-misc/yt-dlp/yt-dlp-2023.11.14.ebuild @@ -29,7 +29,7 @@ src_prepare() { # adjust requires for pycryptodome and optional dependencies (bug #828466) sed -ri requirements.txt \ -e "s/^(pycryptodome)x/\1/" \ - -e "/^(brotli.*|certifi|mutagen|websockets)/d" || die + -e "/^(brotli.*|certifi|mutagen|requests|secretstorage|urllib3|websockets)/d" || die } python_test() { @@ -62,6 +62,7 @@ pkg_postinst() { optfeature "various features (merging tracks, streamed content)" media-video/ffmpeg has_version media-video/atomicparsley || # allow fallback but don't advertise optfeature "embedding metadata thumbnails in MP4/M4A files" media-libs/mutagen + optfeature "decrypting cookies from Chromium-based browsers" dev-python/secretstorage if [[ ! ${REPLACING_VERSIONS} ]]; then elog 'A wrapper using "yt-dlp --compat-options youtube-dl" was installed' diff --git a/net-misc/yt-dlp/yt-dlp-9999.ebuild b/net-misc/yt-dlp/yt-dlp-9999.ebuild index 0b60946059b2..ce8b522bb027 100644 --- a/net-misc/yt-dlp/yt-dlp-9999.ebuild +++ b/net-misc/yt-dlp/yt-dlp-9999.ebuild @@ -28,7 +28,7 @@ src_prepare() { # adjust requires for pycryptodome and optional dependencies (bug #828466) sed -ri requirements.txt \ -e "s/^(pycryptodome)x/\1/" \ - -e "/^(brotli.*|certifi|mutagen|websockets)/d" || die + -e "/^(brotli.*|certifi|mutagen|requests|secretstorage|urllib3|websockets)/d" || die } python_compile() { @@ -69,6 +69,7 @@ pkg_postinst() { optfeature "various features (merging tracks, streamed content)" media-video/ffmpeg has_version media-video/atomicparsley || # allow fallback but don't advertise optfeature "embedding metadata thumbnails in MP4/M4A files" media-libs/mutagen + optfeature "decrypting cookies from Chromium-based browsers" dev-python/secretstorage if [[ ! ${REPLACING_VERSIONS} ]]; then elog 'A wrapper using "yt-dlp --compat-options youtube-dl" was installed' |