1 |
commit: 3a362484060af5984ee6d8b54ffcbf72ad012e77 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 14:01:58 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 14:12:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a362484 |
7 |
|
8 |
net-misc/yt-dlp: drop 2022.8.14 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
net-misc/yt-dlp/Manifest | 1 - |
13 |
net-misc/yt-dlp/yt-dlp-2022.8.14.ebuild | 64 --------------------------------- |
14 |
2 files changed, 65 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest |
17 |
index 377a335e50e8..077e711ea5f6 100644 |
18 |
--- a/net-misc/yt-dlp/Manifest |
19 |
+++ b/net-misc/yt-dlp/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST yt-dlp-2022.8.14.tar.gz 2368444 BLAKE2B 77994eabc7832ee75b397fbd3d7a37b4fc3cfda2e092e3410656bf303618b2bc6f65eeffe1c99b21e80233f7ddf4ade72debbf5151eb68a0e0e87c512917626f SHA512 5a2219d55fb4f02c2f22eb6bf11d9986c75613401c3b8f7f8d39e6a5a534cb91f5c27fbf735919c414c3d7f193024315eb3eee02a1743828bdcf9b102a748cee |
22 |
DIST yt-dlp-2022.8.19.tar.gz 2373949 BLAKE2B c95aabee39ebf4a9285f05e17f85c6fcdb2d7ddc07bc9866e59f55cbbc10bbbb048d22d6dda434eae8383834308e29c959e47ed40d07d20296ead8ad09efb999 SHA512 277a91f4790d7bc34f913e420d3c8b1c563a6a88e6175077cdbf53c60d05afaae56b4103acfc3725015e5075fc1346194e06a81d1d68de743d7173265cb39d25 |
23 |
|
24 |
diff --git a/net-misc/yt-dlp/yt-dlp-2022.8.14.ebuild b/net-misc/yt-dlp/yt-dlp-2022.8.14.ebuild |
25 |
deleted file mode 100644 |
26 |
index 705a62db9da4..000000000000 |
27 |
--- a/net-misc/yt-dlp/yt-dlp-2022.8.14.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,64 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{8..11} ) |
37 |
-inherit bash-completion-r1 distutils-r1 optfeature wrapper |
38 |
- |
39 |
-DESCRIPTION="youtube-dl fork with additional features and fixes" |
40 |
-HOMEPAGE="https://github.com/yt-dlp/yt-dlp/" |
41 |
-SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="Unlicense" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv x86 ~x64-macos" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- dev-python/pycryptodome[${PYTHON_USEDEP}] |
49 |
- !net-misc/youtube-dl[-yt-dlp(-)]" |
50 |
- |
51 |
-distutils_enable_tests pytest |
52 |
- |
53 |
-src_prepare() { |
54 |
- distutils-r1_src_prepare |
55 |
- |
56 |
- # adjust requires for pycryptodome and optional dependencies (bug #828466) |
57 |
- sed -ri requirements.txt \ |
58 |
- -e "s/^(pycryptodome)x/\1/" \ |
59 |
- -e "/^(brotli.*|certifi|mutagen|websockets)/d" || die |
60 |
-} |
61 |
- |
62 |
-python_test() { |
63 |
- epytest -m 'not download' |
64 |
-} |
65 |
- |
66 |
-python_install_all() { |
67 |
- dodoc README.md Changelog.md supportedsites.md |
68 |
- doman yt-dlp.1 |
69 |
- |
70 |
- dobashcomp completions/bash/yt-dlp |
71 |
- |
72 |
- insinto /usr/share/fish/vendor_completions.d |
73 |
- doins completions/fish/yt-dlp.fish |
74 |
- |
75 |
- insinto /usr/share/zsh/site-functions |
76 |
- doins completions/zsh/_yt-dlp |
77 |
- |
78 |
- rm -r "${ED}"/usr/share/doc/yt_dlp || die |
79 |
- |
80 |
- make_wrapper youtube-dl "yt-dlp --compat-options youtube-dl" |
81 |
-} |
82 |
- |
83 |
-pkg_postinst() { |
84 |
- optfeature "various features (merging tracks, streamed content)" media-video/ffmpeg |
85 |
- has_version media-video/atomicparsley || # allow fallback but don't advertise |
86 |
- optfeature "embedding metadata thumbnails in MP4/M4A files" media-libs/mutagen |
87 |
- |
88 |
- if [[ ! ${REPLACING_VERSIONS} ]]; then |
89 |
- elog 'A wrapper using "yt-dlp --compat-options youtube-dl" was installed' |
90 |
- elog 'as "youtube-dl". This is strictly for compatibility and it is' |
91 |
- elog 'recommended to use "yt-dlp" directly, it may be removed in the future.' |
92 |
- fi |
93 |
-} |