Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/
Date: Sat, 17 Jul 2021 13:11:05
Message-Id: 1626527456.9c00796fabf46c855f104ab32714f56c47d32fd8.mgorny@gentoo
1 commit: 9c00796fabf46c855f104ab32714f56c47d32fd8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 17 07:58:07 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 17 13:10:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c00796f
7
8 net-misc/youtube-dl: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-misc/youtube-dl/Manifest | 1 -
13 net-misc/youtube-dl/youtube-dl-2021.05.16.ebuild | 76 ------------------------
14 2 files changed, 77 deletions(-)
15
16 diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
17 index 82b0405b0ff..dcf1041ec7b 100644
18 --- a/net-misc/youtube-dl/Manifest
19 +++ b/net-misc/youtube-dl/Manifest
20 @@ -1,2 +1 @@
21 -DIST youtube-dl-2021.05.16.tar.gz 3336051 BLAKE2B b73206355187a9f61c51749ce01db40757937f79f988a3b81513a5cbe2c854d1b7f2268d7e02c4a0eb3d46c0852990950dfd400acc09f7616aeccb2e8cba6cf9 SHA512 a78ebfc16cc52458e2a036deb48693110f20c046ca3a509be9adbca76d23429953fcf3cd3aab8390a19af747291950bb9261e5339e5cbb0903b98848216c7aca
22 DIST youtube-dl-2021.06.06.tar.gz 3336227 BLAKE2B f30252927ddd79062995ec78d45854e1723fe561ca34777fb0a337750bf09c76da8c205af63869c68c6bc09bfe8f6de1d3f5ee240914ae871bb7920076d8d16c SHA512 7b4d453723d03c3fde46451277d5c44be01469ed1b414ce94e782d6228c132c982835805207222862d0d7b8ba162157196f976400fd15cea7ea513e3595aeea3
23
24 diff --git a/net-misc/youtube-dl/youtube-dl-2021.05.16.ebuild b/net-misc/youtube-dl/youtube-dl-2021.05.16.ebuild
25 deleted file mode 100644
26 index f6c4602df69..00000000000
27 --- a/net-misc/youtube-dl/youtube-dl-2021.05.16.ebuild
28 +++ /dev/null
29 @@ -1,76 +0,0 @@
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_{7..10})
36 -
37 -DISTUTILS_USE_SETUPTOOLS=rdepend
38 -
39 -inherit bash-completion-r1 distutils-r1 readme.gentoo-r1
40 -
41 -DESCRIPTION="Download videos from YouTube.com (and more sites...)"
42 -HOMEPAGE="https://youtube-dl.org/ https://github.com/ytdl-org/youtube-dl/"
43 -SRC_URI="https://youtube-dl.org/downloads/${PV}/${P}.tar.gz"
44 -S=${WORKDIR}/${PN}
45 -
46 -LICENSE="public-domain"
47 -KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
48 -SLOT="0"
49 -
50 -RDEPEND="
51 - dev-python/pycryptodome[${PYTHON_USEDEP}]
52 -"
53 -
54 -distutils_enable_tests nose
55 -
56 -src_prepare() {
57 - sed -i -e '/flake8/d' Makefile || die
58 - distutils-r1_src_prepare
59 -}
60 -
61 -python_test() {
62 - emake offlinetest
63 -}
64 -
65 -python_install_all() {
66 - doman youtube-dl.1
67 -
68 - newbashcomp youtube-dl.bash-completion youtube-dl
69 -
70 - insinto /usr/share/zsh/site-functions
71 - newins youtube-dl.zsh _youtube-dl
72 -
73 - insinto /usr/share/fish/vendor_completions.d
74 - doins youtube-dl.fish
75 -
76 - distutils-r1_python_install_all
77 -
78 - rm -r "${ED}"/usr/etc || die
79 - rm -r "${ED}"/usr/share/doc/youtube_dl || die
80 -}
81 -
82 -pkg_postinst() {
83 - if ! has_version media-video/ffmpeg; then
84 - elog "${PN} works fine on its own on most sites. However, if you want"
85 - elog "to convert video/audio, you'll need media-video/ffmpeg."
86 - elog "On some sites - most notably YouTube - videos can be retrieved in"
87 - elog "a higher quality format without sound. ${PN} will detect whether"
88 - elog "ffmpeg is present and automatically pick the best option."
89 - fi
90 - if ! has_version media-video/rtmpdump; then
91 - elog
92 - elog "Videos or video formats streamed via RTMP protocol can only be"
93 - elog "downloaded when media-video/rtmpdump is installed."
94 - fi
95 - if ! has_version media-video/mplayer && ! has_version media-video/mpv; then
96 - elog
97 - elog "Downloading MMS and RTSP videos requires either media-video/mplayer"
98 - elog "or media-video/mpv to be installed."
99 - fi
100 - if ! has_version media-video/atomicparsley; then
101 - elog
102 - elog "Install media-video/atomicparsley if you want ${PN} to embed thumbnails"
103 - elog "from the metadata into the resulting MP4/M4A files."
104 - fi
105 -}