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