1 |
commit: b82ca335ee8b9af8b4ee367c45b2c9aedd9e95ac |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 6 20:59:39 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 6 21:19:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82ca335 |
7 |
|
8 |
net-misc/yt-dlp: adjust sed to be safer |
9 |
|
10 |
Was still thinking of it as being its own line (making s/x// safe) |
11 |
because of requires.txt. Wasn't a problem but may be in the future. |
12 |
|
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild | 4 +++- |
16 |
1 file changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
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 |
19 |
index 0d4405781215..f6633c012f81 100644 |
20 |
--- a/net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild |
21 |
+++ b/net-misc/yt-dlp/yt-dlp-2021.12.1-r1.ebuild |
22 |
@@ -24,7 +24,9 @@ python_prepare_all() { |
23 |
distutils-r1_python_prepare_all |
24 |
|
25 |
# adjust requires for pycryptodome and optional dependencies (bug #828466) |
26 |
- sed -ri "/'pycryptodomex'/s/x//;s/'(mutagen|websockets)',?//g" setup.py || die |
27 |
+ sed -ri setup.py \ |
28 |
+ -e "s/'(pycryptodome)x'/'\1'/" \ |
29 |
+ -e "s/'(mutagen|websockets)',?//g" || die |
30 |
} |
31 |
|
32 |
python_test() { |