mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
net-misc/yt-dlp: adjust sed to be safer
Was still thinking of it as being its own line (making s/x// safe) because of requires.txt. Wasn't a problem but may be in the future. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -24,7 +24,9 @@ python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
# adjust requires for pycryptodome and optional dependencies (bug #828466)
|
||||
sed -ri "/'pycryptodomex'/s/x//;s/'(mutagen|websockets)',?//g" setup.py || die
|
||||
sed -ri setup.py \
|
||||
-e "s/'(pycryptodome)x'/'\1'/" \
|
||||
-e "s/'(mutagen|websockets)',?//g" || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
|
||||
Reference in New Issue
Block a user