dev-python/yt-dlp-ejs: preemptively update sed

Removes config options for the section (when any) as well which
will be needed next version.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2025-12-03 22:50:01 -05:00
parent 8a0dc7259c
commit 8e6e67f186

View File

@@ -32,6 +32,6 @@ src_prepare() {
# drop deno/npm calls and use pre-generated .js instead, this
# both prevents network use and ensures no hash mismatch given
# yt-dlp checks the sha512sum of the .js files
sed -i '/wheel.hooks.custom/d' pyproject.toml || die
sed -i '/wheel.hooks.custom/,/^$/d' pyproject.toml || die
mv ../yt_dlp_ejs/yt/solver/*.js yt_dlp_ejs/yt/solver/ || die
}