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: Tue, 28 Dec 2021 17:10:40
Message-Id: 1640710812.044ad25dc3573783c5ed5e596cee271276543c5c.ionen@gentoo
1 commit: 044ad25dc3573783c5ed5e596cee271276543c5c
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 28 14:30:47 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 28 17:00:12 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=044ad25d
7
8 net-misc/yt-dlp: drop 2021.12.25
9
10 Short lived release with 2021.12.27 released right after and
11 due to be next stable, should be no need to keep this one.
12
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 net-misc/yt-dlp/Manifest | 1 -
16 net-misc/yt-dlp/yt-dlp-2021.12.25.ebuild | 74 --------------------------------
17 2 files changed, 75 deletions(-)
18
19 diff --git a/net-misc/yt-dlp/Manifest b/net-misc/yt-dlp/Manifest
20 index 34ae9be163da..e6af35864f5c 100644
21 --- a/net-misc/yt-dlp/Manifest
22 +++ b/net-misc/yt-dlp/Manifest
23 @@ -1,3 +1,2 @@
24 DIST yt-dlp-2021.12.1.tar.gz 2064958 BLAKE2B d97bf6bc5d6a97aec05be73dcc00aac6b1aff011c307abcbf604a3bfab06dadfd28401eab8ad26d42b7ec3db778c66e9fa2de09d3e6c28304fd28791532509d9 SHA512 d04e9e5ae36e73923ac79bb98af6e402ba0b4403430cbcc0517e7f446d42b6c637846b11489c0159faf667ab798b937abb9597fb5fba76b6f7b6e2b379bae328
25 -DIST yt-dlp-2021.12.25.tar.gz 2096136 BLAKE2B b40e35f8e7f644051ca80d7d6eeb5d7963e5d0b0c5ffbbc10ed2e4d1f7133a43ec19a715e2ca131fb95ce31c322b952cb13b40adcfe1d8f655e1bd2162ec8329 SHA512 826abb5654527e37454424a949607d2c9934328228566ab0baa89df23ea081c3feb01584a25d0154d30d389d4c10cc7203ad530ddf8472ae70d6e782e3ded490
26 DIST yt-dlp-2021.12.27.tar.gz 2102852 BLAKE2B 69a3a9c916771ab2e1b8f86bbc43e03d0543801f587708b638348088d4454aff8ac93420fd8bd2ebb4f493c74acdf23f08a9495dbcdad77d840a95cfece4aa6b SHA512 2c687493736fabe131481d6bf8df13afc1959ac1458675bfe3c4273df7bb64218f84e07ea324b664b0a52c3e39b3e10999e81bc907bfc98a71a28c92dca90737
27
28 diff --git a/net-misc/yt-dlp/yt-dlp-2021.12.25.ebuild b/net-misc/yt-dlp/yt-dlp-2021.12.25.ebuild
29 deleted file mode 100644
30 index 449b50847e09..000000000000
31 --- a/net-misc/yt-dlp/yt-dlp-2021.12.25.ebuild
32 +++ /dev/null
33 @@ -1,74 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -
39 -PYTHON_COMPAT=( python3_{8..10} )
40 -inherit bash-completion-r1 distutils-r1 optfeature
41 -
42 -DESCRIPTION="youtube-dl fork with additional features and fixes"
43 -HOMEPAGE="https://github.com/yt-dlp/yt-dlp"
44 -SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="Unlicense"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
49 -
50 -RDEPEND="
51 - dev-python/pycryptodome[${PYTHON_USEDEP}]
52 - !net-misc/youtube-dl"
53 -
54 -distutils_enable_tests pytest
55 -
56 -python_prepare_all() {
57 - distutils-r1_python_prepare_all
58 -
59 - # adjust requires for pycryptodome and optional dependencies (bug #828466)
60 - sed -ri setup.py \
61 - -e "s/'(pycryptodome)x'/'\1'/" \
62 - -e "s/'(mutagen|websockets)',?//g" || die
63 -}
64 -
65 -python_test() {
66 - epytest -m 'not download' -p no:markdown
67 -}
68 -
69 -python_install() {
70 - distutils-r1_python_install
71 -
72 - local sitedir=$(python_get_sitedir)
73 - dosym yt_dlp "${sitedir#${EPREFIX}}"/youtube_dl
74 -}
75 -
76 -python_install_all() {
77 - dodoc README.md Changelog.md supportedsites.md
78 - doman yt-dlp.1
79 -
80 - dobashcomp completions/bash/yt-dlp
81 -
82 - insinto /usr/share/fish/vendor_completions.d
83 - doins completions/fish/yt-dlp.fish
84 -
85 - insinto /usr/share/zsh/site-functions
86 - doins completions/zsh/_yt-dlp
87 -
88 - rm -r "${ED}"/usr/share/doc/yt_dlp || die
89 -
90 - newbin - youtube-dl <<-EOF
91 - #!/usr/bin/env sh
92 - exec yt-dlp --compat-options youtube-dl "\${@}"
93 - EOF
94 -}
95 -
96 -pkg_postinst() {
97 - optfeature "various features (merging tracks, streamed content)" media-video/ffmpeg
98 - has_version media-video/atomicparsley || # allow fallback but don't advertise
99 - optfeature "embedding metadata thumbnails in MP4/M4A files" media-libs/mutagen
100 -
101 - if [[ ! ${REPLACING_VERSIONS} ]] ||
102 - ver_test ${REPLACING_VERSIONS} -lt 2021.10.22-r2; then
103 - elog 'A wrapper using "yt-dlp --compat-options youtube-dl" was installed'
104 - elog 'as "youtube-dl". This is strictly for compatibility and it is'
105 - elog 'recommended to use "yt-dlp" directly, it may be removed in the future.'
106 - fi
107 -}