mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user