diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-12-06 15:59:39 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-12-06 16:19:38 -0500 |
commit | b82ca335ee8b9af8b4ee367c45b2c9aedd9e95ac (patch) | |
tree | 0df35b0f378c9a04799b94a2d5a3074c94f06b1a /net-misc | |
parent | app-emulation/virtualbox-guest-additions: Stabilize 6.1.28 amd64, #828476 (diff) | |
download | gentoo-b82ca335ee8b9af8b4ee367c45b2c9aedd9e95ac.tar.gz gentoo-b82ca335ee8b9af8b4ee367c45b2c9aedd9e95ac.tar.bz2 gentoo-b82ca335ee8b9af8b4ee367c45b2c9aedd9e95ac.zip |
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>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild b/net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild index 0d4405781215..f6633c012f81 100644 --- a/net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild +++ b/net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild @@ -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() { |