1 |
commit: db021924b01f9741ade683c6d355bb11f4f0b393 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 16 20:33:34 2021 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 16 20:35:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db021924 |
7 |
|
8 |
net-misc/yt-dlp: 2021.10.10 version bump. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/809896 |
11 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
12 |
|
13 |
net-misc/yt-dlp/Manifest | 1 + |
14 |
net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild | 50 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest |
18 |
index b6c33e163d1..e3c60fdda60 100644 |
19 |
--- a/net-misc/yt-dlp/Manifest |
20 |
+++ b/net-misc/yt-dlp/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
+DIST yt-dlp-2021.10.10.tar.gz 1913112 BLAKE2B 05c6f56a633311b99834f077b1dd3be6374144d5cf5dfdcc38cbd7fa246e380f2f8f7b667dde9e83f6f0270bac38e21f4183726c9ced922dc0c3ca96175c15db SHA512 c53cc4458b294dc579de37e9d603cd32bb1890ed921270097bfe04e4e8769b91f6594cd4834e7094c706a7c9f447854438b33ab28ddd7247af585837c5ca76b1 |
23 |
DIST yt-dlp-2021.8.10.tar.gz 1807968 BLAKE2B 664f9f5680c18531bb1c194e6e26a31b6be62894a88c6748bf146fbba79164fec6f5e6db017785daf6c8f5a2c1b7cfc0c2ee6c0d437b9d7bb4e1835eff73650f SHA512 fb321d308e634f6358f046762cc3e827b036083b4764d495bbcef253d06ce445152f4a330c51b5aac1eb3b21a8a345fc791f0fdbdc01089ea2a414b1cd457f20 |
24 |
DIST yt-dlp-2021.9.1.tar.gz 1846252 BLAKE2B 2cb056b89d1c3f5dfe442c96e983b2500185ade621c285669ef513d0fe9af9aabea3ad121344d1c521b6c89eddc77bf7698edb48d92f6f5f7b58b8939c80817d SHA512 26f778bf63b9be9e487b96f098e56abf65c7c7a89e9c5754755cf73d55e441638174d7b0e7220e994e40c0740edbd792e1fee28b44946cab8197dfaae2eee26e |
25 |
DIST yt-dlp-2021.9.25.tar.gz 1890559 BLAKE2B 9573fc4214fa8654a4b1ca44dd40b81f590f08ffe56225d8ad9923e4c3d188be406a59443e9ec134a1eef523e39e33cecba9ba76ef05edb908713d72d1ac233d SHA512 2c1fc18f05108420caaae9ca4072fc1ee0c67932ac144ee69c3e412850e1f1873938e302b9e0953bea29678bd2c512e58c124088243818ce0662449bcfa92175 |
26 |
|
27 |
diff --git a/net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild b/net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..e8f9a33a5fe |
30 |
--- /dev/null |
31 |
+++ b/net-misc/yt-dlp/yt-dlp-2021.10.10.ebuild |
32 |
@@ -0,0 +1,50 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+inherit bash-completion-r1 distutils-r1 readme.gentoo-r1 |
40 |
+ |
41 |
+DESCRIPTION="A youtube-dl fork with additional features and fixes" |
42 |
+HOMEPAGE="https://github.com/yt-dlp/yt-dlp" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+KEYWORDS="~amd64 ~riscv ~x86" |
45 |
+LICENSE="public-domain" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ test? ( dev-python/pytest ) |
50 |
+" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/pycryptodome[${PYTHON_USEDEP}] |
54 |
+ media-libs/mutagen[${PYTHON_USEDEP}] |
55 |
+ dev-python/websockets[${PYTHON_USEDEP}] |
56 |
+ dev-python/keyring[${PYTHON_USEDEP}] |
57 |
+ media-video/ffmpeg |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests nose |
61 |
+ |
62 |
+python_test() { |
63 |
+ # make_lazy_extractors.py tries to rename it out, so fails if it does not exists. |
64 |
+ mkdir ytdlp_plugins |
65 |
+ epytest -k 'not download' |
66 |
+} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ doman yt-dlp.1 |
70 |
+ |
71 |
+ newbashcomp completions/bash/yt-dlp yt-dlp |
72 |
+ |
73 |
+ insinto /usr/share/zsh/site-functions |
74 |
+ newins completions/zsh/_yt-dlp _yt-dlp |
75 |
+ |
76 |
+ insinto /usr/share/fish/vendor_completions.d |
77 |
+ doins completions/fish/yt-dlp.fish |
78 |
+ |
79 |
+ distutils-r1_python_install_all |
80 |
+ |
81 |
+ rm -rf "${ED}"/usr/share/doc/yt_dlp || die |
82 |
+} |