net-misc/yt-dlp: update live

Upstream changed how optional dependencies are handled (aka made
them actually optional rather than always installed by pip) and
it no longer triggers pip check if missing.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-11-03 20:12:14 -05:00
parent b6f38b3c9e
commit 48601cc2a0

View File

@@ -25,15 +25,6 @@ BDEPEND="
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# adjust pycryptodome and drop optional dependencies (bug #828466)
sed -Ei pyproject.toml \
-e 's/("pycryptodome)x/\1/' \
-e '/"(brotli.*|certifi|mutagen|requests|urllib3|websockets)/d' || die
}
python_compile() {
# generate missing files in live, not in compile_all nor prepare
# given need lazy before compile and it needs a usable ${PYTHON}