Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/yt-dlp/
Date: Sun, 07 Aug 2022 13:59:42
Message-Id: 1659880744.2dda95680b5b9e09a7555bdbdec07ce3930c5b9d.ionen@gentoo
1 commit: 2dda95680b5b9e09a7555bdbdec07ce3930c5b9d
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 7 13:30:43 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 7 13:59:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dda9568
7
8 net-misc/yt-dlp: drop 2022.6.29
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.6.29.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 19e9ff79dfbe..56d4c9f9e50b 100644
18 --- a/net-misc/yt-dlp/Manifest
19 +++ b/net-misc/yt-dlp/Manifest
20 @@ -1,2 +1 @@
21 -DIST yt-dlp-2022.6.29.tar.gz 2321677 BLAKE2B c1c6e18af961c7d433fae432ecf38feb28bff315ad9a3949c431f35f46a469460ade8a44e23f699d248dee1088bd507981479ab009c3e8152508c730ff146683 SHA512 f6832e70a73a3b787af9a9e2c4219bd593d2eb0e4c37a0d5696a5a11413a7230f4ca5e480db43713477fba6eae076c600ec98f24adb5c651fa5fbb9fdd83ad45
22 DIST yt-dlp-2022.7.18.tar.gz 2348854 BLAKE2B 3ef23b1fbc379af2e2a291e96efe495a38d8a7a3db3a45d6131bcaa06cc03843e4c3eee7859c51a7868429ab64759e251a22c5fb320fcbf51d7e2c4ca9ac86d7 SHA512 07552c1b698326152c154ff83fc08b03637234ff448e6b5dd6776c0f37d2a4d892a5c89131c4c9ec8a8c479577018ffbdf7f53538e3dc41497c0fd131c90538a
23
24 diff --git a/net-misc/yt-dlp/yt-dlp-2022.6.29.ebuild b/net-misc/yt-dlp/yt-dlp-2022.6.29.ebuild
25 deleted file mode 100644
26 index 705a62db9da4..000000000000
27 --- a/net-misc/yt-dlp/yt-dlp-2022.6.29.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 -}